-
Notifications
You must be signed in to change notification settings - Fork 197
Refactor Logging Hierarchy in neo4j-python-driver #997
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ter log source tracing.
Thank you for taking the time to craft a PR. Much appreciated. However, before I can review the code itself, please sign the CLA (Contributor License Agreement). General feedback from the PR description: I like the idea. However, I'd not want to leak the internal module structure. Instead, I'd prefer a logical hierarchy. Something along the lines of
|
Hi @robsdedude, i've signed the CLA That sounds good to me, so to clarify, you'd avoid the sync/async split? |
@robsdedude, i've consolidated the logger hierarchy, let me know your thoughts. database drivers are a bit outside my technical area so I don't have any input into the logical splitting. |
* Merge network and bolt child loggers * Rename auth child logger to auth_management
Thanks again for the update. I went through the PR and adjusted it a little:
Please have a look at the PR and let me know if it still looks good to you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi I think this is good.
Thanks for adding the documentation. I still wonder whether there could be more granularity, but having looked through how the loggers are used in the different module i'm not sure.
If you have any thoughts i'd be interested in hearing them otherwise I think this is good
@robsdedude could we get it merged in? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📜
This PR includes a refactor of the logger names in the neo4j-python-driver to adhere to a hierarchical structure.
Moving to hierarchical loggers is a non-breaking changed designed to offer more control when managing logs and provides a mechanism for better organisation and filtering of logs.