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
Hi,
I want the log to be live.
I'm currently logging but the file is being created only upon termination.
During debugging for example I cannot see the file, but can see logging in the terminal, and when I terminate the debugger, then and only then the file is being created with all the logging that have been made.
I've tried to create the file before using Loguru, but results are the same.
How can I use live logging?
Thanks.
Mac OS Sonoma 14.3.1
PyCharm Pro
code snippet:
(I would expect that before sleep ends the log file is already created and written to, but it actually happens only after exit(0))
Hi,
I want the log to be live.
I'm currently logging but the file is being created only upon termination.
During debugging for example I cannot see the file, but can see logging in the terminal, and when I terminate the debugger, then and only then the file is being created with all the logging that have been made.
I've tried to create the file before using Loguru, but results are the same.
How can I use live logging?
Thanks.
Mac OS Sonoma 14.3.1
PyCharm Pro
code snippet:
(I would expect that before sleep ends the log file is already created and written to, but it actually happens only after exit(0))
The text was updated successfully, but these errors were encountered: