You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
you configured logging.basicConfig(filename='myapp.log', level=logging.INFO) this means nothing will be printed, instead logs will be written to myapp.log
Activity
graingert commentedon Mar 27, 2025
you configured
logging.basicConfig(filename='myapp.log', level=logging.INFO)this means nothing will be printed, instead logs will be written to myapp.logericvsmith commentedon Mar 27, 2025
As @graingert mentions, the output does show up in the file myapp.log.
If this is a regression, then in what version of python did it produce output?
I don't think there's a bug here, but if this did behave differently in a previous version of python that would be interesting.
trivialkettle commentedon Mar 27, 2025
Ah sorry, you are right, I missed this.
I had some strange issues, that I could not set the logger level, my code works on python 3.10 but not on 3.13.
basically I do
I try to reproduce this, maybe it was a glitch or something.
Edit: I close it for now until I can reproduce this.