[JAVA-2328] Too much logging in the server monitor Created: 30/Sep/16  Updated: 26/Dec/19  Resolved: 04/Oct/16

Status: Closed
Project: Java Driver
Component/s: Cluster Management
Affects Version/s: None
Fix Version/s: 3.4.0-rc1, 3.4.0

Type: Bug Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The server monitor is supposed to log

INFO: Monitor thread successfully connected to server with description ServerDescription ...

every time the server description has a meaningful change.

But now it's logging it every time, due to the addition of a lastUpdateTime comparison to ServerDescription.equals



 Comments   
Comment by Githook User [ 04/Oct/16 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-2328: Fix regression which created extraneous info-level logging to the org.mongodb.cluster logger
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/bf7c8aa185cd1c22ae3700f5c780f7b80a248469

Generated at Thu Feb 08 08:56:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.