Open gabriel-v opened 1 year ago
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.
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?