mongodb / mongo-jdbc-driver

JDBC Driver for MongoDB Atlas SQL interface
Apache License 2.0
35 stars 33 forks source link

The driver disables all logger when connecting #243

Closed uffeweil closed 4 months ago

uffeweil commented 6 months ago

Hi!

I am part of the development team developing the database tool DbVisualizer. DbVisualizer is general database tool allowing connection to a vast number of databases/data sources. DbVisualizer does use java.util.logging as its logging mechanism. While testing with your jdbc driver (org.mongodb:mongodb-jdbc) we have noticed that the driver disables all our loggers. This without using/specifying any driver properties.

From a general point of view, I would expect logging configuration to be performed on an application level and not on a JDBC driver level. E.g having multiple live connections using drivers from multiple vendors would easily result in undefined logging.

My suggestion is:

Kind Regards Ulf

nbagnard commented 6 months ago

Hi Ulf,

Thank you for reporting this issue. We created a ticket on our side to track this and will look into it.

Cheers, Natacha

nbagnard commented 4 months ago

Released in 2.1.0.