would've caused the logging level of the "neo4j" logger to end up being WARNING even though the first call (implicitly) requested DEBUG.
The fix will make sure to set the logger's level to the most verbose requested level and use a level filter on the Handlers registered for each call to filter on the level accordingly.
The helper did not handle logging level correctly. For example
would've caused the logging level of the "neo4j" logger to end up being
WARNING
even though the first call (implicitly) requestedDEBUG
.The fix will make sure to set the logger's level to the most verbose requested level and use a level filter on the Handlers registered for each call to filter on the level accordingly.
Backport of https://github.com/neo4j/neo4j-python-driver/pull/946