-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
pythonrc log spam #67
Labels
enhancement
New feature or request
Comments
i'll do the same remark i did for lvgl micropython. I want people to be able to see what is getting in/out from their browser. Maybe an acceptable compromise would be to delay/drop more and more after hitting the same url with no error status. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The pythonrc logs with
print()
things like HTTP fetches.Once you start polling HTTP endpoints every few seconds, logs get very spammy very fast. The main culprit was the message
849: fopen: fetching
On my fork I changed some
print
statements intoDBG
: fork commitI also used the
logging
library to allow me to bring back the spam by doinglogging.getLogger(None).setLevel('DEBUG')
.Questions:
if PyConfig.dev_mode
?PyConfig.dev_mode = True | False
to control logging?The text was updated successfully, but these errors were encountered: