You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We agree this would be a good change, however only for the 4.1 driver, as this will be a breaking change for users of the driver that use those names to configure the logging.
It will prefix all unprefixed loggers with org.neo4j.driver. and made them easily configurable through Spring Boots config mechanism (via properties). It will also default to Springs logging mechanism.
Thanks, Michael. Makes sense to leave it for the next version.
FWIW, I'm using the spring-boot-starter-data-neo4j, which obviously doesn't have the same prefixing behaviour you describe above. My guess would be that adding neo4j-java-driver-spring-boot-starter in as well would cause conflicts, but tell me if that's wrong.
neo4j-java-driver-spring-boot-starter is a dedicated module maintained by us to provide the best experience with Bolt, without bringing in OGM or any other data mapping.
Driver version: Java 4.0.0 (and 4.1 branch of this repo)
Expected Behaviour
All logging should be made to qualified logger names, e.g.
org.neo4j.driver.Driver
andorg.neo4j.driver.internal.spi.ConnectionPool
Actual Behaviour
Logging is made to top-level loggers and lacks context for both output and configuration.
Steps to reproduce
See uses in code...
DriverFactory.java:
ConnectionPoolImpl.java:
The text was updated successfully, but these errors were encountered: