Dear mn,
Có ai từng gặp trường hợp này chưa ạ. Java MongoDB driver liên tục log ra rất nhiều message. Mình đã thử cách logger.setLevel(Level.WARN);
hoặc setLevel OFF
rồi mà không thành công.
Ai từng gặp rồi chỉ giúp mình với. Mình cảm ơn.
2021-04-01 20:31:53.536 DEBUG 16428 --- [x.xxx.xxx:35000] org.mongodb.driver.cluster : Checking status of xxx.xxx.xxx.xxx:35000
2021-04-01 20:31:53.536 DEBUG 16428 --- [x.xxx.xxx:35000] org.mongodb.driver.cluster : Checking status of xxx.xxx.xxx.xxx:35000
2021-04-01 20:31:53.536 DEBUG 16428 --- [x.xxx.xxx:35000] org.mongodb.driver.cluster : Checking status of xxx.xxx.xxx.xxx:35000
2021-04-01 20:31:53.536 DEBUG 16428 --- [x.xxx.xxx:35000] org.mongodb.driver.cluster : Checking status of xxx.xxx.xxx.xxx:35000
2021-04-01 20:31:53.545 DEBUG 16428 --- [x.xxx.xxx:35000] org.mongodb.driver.protocol.command : Execution of command with request id 31670 completed successfully in 6.55 ms on connection [connectionId{localValue:83, serverValue:187601}] to server xxx.xxx.xxx.xxx:35000
2021-04-01 20:31:53.546 DEBUG 16428 --- [x.xxx.xxx:35000] org.mongodb.driver.cluster : Updating cluster description to {type=STANDALONE, servers=[{address=xxx.xxx.xxx.xxx:35000, type=STANDALONE, roundTripTime=6.2 ms, state=CONNECTED}]
2021-04-01 20:31:53.547 DEBUG 16428 --- [x.xxx.xxx:35000] org.mongodb.driver.cluster : Updating cluster description to {type=STANDALONE, servers=[{address=xxx.xxx.xxx.xxx:35000, type=STANDALONE, roundTripTime=5.8 ms, state=CONNECTED}]
2021-04-01 20:31:53.548 DEBUG 16428 --- [x.xxx.xxx:35000] org.mongodb.driver.cluster : Updating cluster description to {type=STANDALONE, servers=[{address=xxx.xxx.xxx.xxx:35000, type=STANDALONE, roundTripTime=6.9 ms, state=CONNECTED}]
2021-04-01 20:31:53.582 DEBUG 16428 --- [x.xxx.xxx:35000] org.mongodb.driver.cluster : Checking status of xxx.xxx.xxx.xxx:35000
2021-04-01 20:31:53.582 DEBUG 16428 --- [x.xxx.xxx:35000] org.mongodb.driver.protocol.command : Sending command '{"ismaster": 1}' with request id 31671 to database admin on connection [connectionId{localValue:139, serverValue:187745}] to server xxx.xxx.xxx.xxx:35000
2021-04-01 20:31:53.585 DEBUG 16428 --- [x.xxx.xxx:35000] org.mongodb.driver.protocol.command : Execution of command with request id 31671 completed successfully in 3.06 ms on connection [connectionId{localValue:139, serverValue:187745}] to server xxx.xxx.xxx.xxx:35000
2021-04-01 20:31:53.586 DEBUG 16428 --- [x.xxx.xxx:35000] org.mongodb.driver.cluster : Updating cluster description to {type=STANDALONE, servers=[{address=xxx.xxx.xxx.xxx:35000, type=STANDALONE, roundTripTime=5.6 ms, state=CONNECTED}]