@@ -2080,9 +2080,30 @@ following code:
20802080Logging
20812081******* 
20822082
2083- The driver offers logging for debugging purposes. It is not recommended to
2084- enable logging for anything other than debugging. For instance, if the driver is
2085- not able to connect to the database server or if undesired behavior is observed.
2083+ The driver offers logging for debugging purposes.
2084+ It is not recommended to enable logging for anything other than debugging.
2085+ For instance, if the driver is not able to connect to the database server or if
2086+ undesired behavior is observed.
2087+ 
2088+ This includes messages logged on ``WARNING `` level or higher.
2089+ They are logged to help understand what is going on *inside * the driver.
2090+ All relevant information is passed through return values, raised exceptions,
2091+ warnings, etc.
2092+ The logs are not the right place to look for actionable information.
2093+ 
2094+ The driver supports hierarchical logging.
2095+ This means you can selectively configure all of the driver's logging or only
2096+ parts of it.
2097+ Currently available:
2098+ 
2099+ * ``neo4j ``: The root logger for the driver.
2100+   High-level code (e.g., Session, Transaction, Driver, etc.) logs here.
2101+ 
2102+   * ``neo4j.io ``: Logs network activity and bolt protocol messages, handshakes,
2103+     etc.
2104+   * ``neo4j.pool ``: Logs connection pool activity (including routing).
2105+   * ``neo4j.auth_management ``: Logger for provided :class: `.AuthManager `
2106+     implementations.
20862107
20872108There are different ways of enabling logging as listed below.
20882109
0 commit comments