-
-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
RotatingFileHandler can create empty backups #116263
Comments
serhiy-storchaka
added a commit
to serhiy-storchaka/cpython
that referenced
this issue
Aug 7, 2024
serhiy-storchaka
added a commit
that referenced
this issue
Aug 8, 2024
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Aug 8, 2024
…ythonGH-122788) (cherry picked from commit 6094c6f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Aug 8, 2024
…ythonGH-122788) (cherry picked from commit 6094c6f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
blhsing
pushed a commit
to blhsing/cpython
that referenced
this issue
Aug 22, 2024
Yhg1s
pushed a commit
that referenced
this issue
Sep 2, 2024
ambv
pushed a commit
that referenced
this issue
Sep 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

Bug report
In the following example the rotating file handler writes the message in file "test.log" and creates an empty backup file "test.log.1".
I think creating an empty backup file is meaningless.
shouldRollover()should return False ifself.stream.tell()returns 0 (it happens for just created file).Linked PRs
The text was updated successfully, but these errors were encountered: