Skip to content

[3.12] gh-88352: Fix logging.TimedRotatingFileHandler (GH-116191) #116208

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

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Mar 1, 2024

  • Do not overwrite already rolled over files. It happened at midnight or
    during the DST change and caused the loss of data.
  • computeRollover() now always return the timestamp larger than the
    specified time.
  • Fix computation of the rollover time during the DST change.
    (cherry picked from commit fee86fd)

Co-authored-by: Serhiy Storchaka [email protected]

* Do not overwrite already rolled over files. It happened at midnight or
  during the DST change and caused the loss of data.
* computeRollover() now always return the timestamp larger than the
  specified time.
* Fix computation of the rollover time during the DST change.
(cherry picked from commit fee86fd)

Co-authored-by: Serhiy Storchaka <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants