-
Notifications
You must be signed in to change notification settings - Fork 715
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
rotation could not keep with write #179
Comments
Ugh, sorry for this bug... I did not expect the rotation to happen twice at the same microsecond. I just realized that the internal clock resolution is quite large on Windows (like 15 ms), so it makes this error much more likely to happen. I will add a check before calling |
Howerver, it happens from your first message, and the time in the file name doesn't match the time in the error record. So maybe there's something else to investigate. 😕 Edit: This is related to |
Fixed. 👍 If destination of the renamed file exists despite the |
Hi,
I am testing
loguru.disable()
andloguru.enable()
with rotation. Here are my codes:mylibrary.py
and this is the script that uses the library
uselibrary
It will produce the following errors:
If I enable the delay via
time.sleep(0.0001)
the problem disappear. Thanks.The text was updated successfully, but these errors were encountered: