-
Notifications
You must be signed in to change notification settings - Fork 10
DOCSP-51344: Logging #115
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
base: comp-cov
Are you sure you want to change the base?
DOCSP-51344: Logging #115
Conversation
✅ Deploy Preview for docs-kotlin-sync ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
🔄 Deploy Preview for docs-kotlin-sync processing
|
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.
Looks good! Left a few changes
|
||
The following example disables the root logger and sets the log level for the | ||
``org.mongodb.driver.connection`` logger to ``DEBUG``. This will cause the driver to log |
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.
``org.mongodb.driver.connection`` logger to ``DEBUG``. This will cause the driver to log | |
``org.mongodb.driver.connection`` logger to ``DEBUG``. This will cause the driver to only log |
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.
Style guide entry on "only" – "Place only preceding the word or group that it modifies". I think I adhered to that in my version ("messages" being the word getting modified).
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.
maybe put only after messages? it seems a little clunky but i get how style guide rules can do that sometimes.
Ex. This will cause the driver to log messages only related to.... or log messages related only to
But I think what you have is fine, it just displeases me for some reason but its probably personal preference
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.
I can shift it around!
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.
LGTM with one follow up comment
Mostly adapted from the Java Sync Logging page, made efforts to trim the fat and update the wording.
Pull Request Info
PR Reviewing Guidelines
JIRA - https://jira.mongodb.org/browse/DOCSP-51344
Staging Links
Self-Review Checklist