[issue40469] TimedRotatingFileHandler rotating on use not time

2021-08-10 Thread Ivan Marton
Ivan Marton added the comment: The assumed behaviour of TimedRotatingFileHandler is to rotate log files older than configured. Even when the script is executed multiple times. self.rolloverAt (the variable that defines when the rollover should be performed) is set after each rollover and

[issue40469] TimedRotatingFileHandler rotating on use not time

2021-08-10 Thread Ivan Marton
Change by Ivan Marton : Added file: https://bugs.python.org/file50209/log_40469_single.py ___ Python tracker <https://bugs.python.org/issue40469> ___ ___ Python-bug

[issue40469] TimedRotatingFileHandler rotating on use not time

2021-08-13 Thread Ivan Marton
Ivan Marton added the comment: Well, there is nothing in the documentation that would say the logrotation can be only performed by continously running scripts, thats why. :) There are scripts or even daemons written in Python that need to be restarted from time to time. If the logrotate

[issue40469] TimedRotatingFileHandler rotating on use not time

2021-08-13 Thread Ivan Marton
Ivan Marton added the comment: > Well, what's the need to rotate based on time when you just run scripts > sporadically or they're very short-lived? Not trying to argue, just trying to > understand. > Yes, but generally daemons are long-lived relative to the rotation in

[issue40469] TimedRotatingFileHandler rotating on use not time

2021-02-26 Thread Ivan Marton
Change by Ivan Marton : -- keywords: +patch nosy: +martonivan nosy_count: 1.0 -> 2.0 pull_requests: +23445 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24660 ___ Python tracker <https://bugs.python.org/i

[issue43382] github CI blocked by the Ubuntu CI with an SSL error

2021-03-03 Thread Ivan Marton
Change by Ivan Marton : -- nosy: +martonivan ___ Python tracker <https://bugs.python.org/issue43382> ___ ___ Python-bugs-list mailing list Unsubscribe: