-
Notifications
You must be signed in to change notification settings - Fork 20
DOCSP-46696: Logging page #154
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
✅ Deploy Preview for docs-pymongo ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
One suggestion:
source/logging.txt
Outdated
.. code-block:: python | ||
|
||
import os | ||
os.environ('MONGODB_LOG_MAX_DOCUMENT_LENGTH') = 2000 |
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.
os.environ('MONGODB_LOG_MAX_DOCUMENT_LENGTH') = 2000 | |
os.environ['MONGODB_LOG_MAX_DOCUMENT_LENGTH'] = "2000" |
Python requires environment variables to all be strings.
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.
Will also standardize double quotations for strings in next revision.
(cherry picked from commit 0876f2f)
(cherry picked from commit 0876f2f)
(cherry picked from commit 0876f2f)
(cherry picked from commit 0876f2f)
(cherry picked from commit 0876f2f)
Largely adapted from this page on the readthedocs domain.
Pull Request Info
PR Reviewing Guidelines
JIRA - https://jira.mongodb.org/browse/DOCSP-46696
Staging Links
Self-Review Checklist