[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-14 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 17260e44b5ed3508e3c15f1b7ded761879e91d3e by Miss Islington (bot) in branch '3.9': [3.9] bpo-46063: Add 'delay=True' to file handler initialization. (GH-30103) (GH-30105)

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-14 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 908fd691f96403a3c30d85c17dd74ed1f26a60fd by Miss Islington (bot) in branch '3.10': [3.10] bpo-46063: Add 'delay=True' to file handler initialization. (GH-30103) (GH-30104)

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-14 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 850aefc2c651110a784cd5478af9774b1f6287a3 by Vinay Sajip in branch 'main': bpo-46063: Add 'delay=True' to file handler initialization. (GH-30103) https://github.com/python/cpython/commit/850aefc2c651110a784cd5478af9774b1f6287a3 --

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +28328 pull_request: https://github.com/python/cpython/pull/30105 ___ Python tracker ___

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +28327 pull_request: https://github.com/python/cpython/pull/30104 ___ Python tracker ___

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-14 Thread Vinay Sajip
Change by Vinay Sajip : -- pull_requests: +28326 pull_request: https://github.com/python/cpython/pull/30103 ___ Python tracker ___

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-14 Thread Vinay Sajip
Vinay Sajip added the comment: Ah ... forgot to set delay=True for the handlers. Will look at this soon. -- ___ Python tracker ___

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-14 Thread Irit Katriel
Irit Katriel added the comment: % ./python.exe -We -m test -v test_logging -m test_compute_files_to_delete Raised RLIMIT_NOFILE: 256 -> 1024 == CPython 3.11.0a3+ (heads/main:9130a4d620, Dec 14 2021, 11:12:05) [Clang 13.0.0 (clang-1300.0.29.3)] == macOS-11.6-x86_64-i386-64bit little-endian ==

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-14 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-13 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 94234228abbb84945a48049a7515dea960bc9834 by Miss Islington (bot) in branch '3.9': [3.9] bpo-46063: Improve algorithm for computing which rolled-over log file… (GH-30093) (GH-30095)

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-13 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset f84e2f6c0aca97c59ec8ce21715ae9bd89893307 by Miss Islington (bot) in branch '3.10': [3.10] bpo-46063: Improve algorithm for computing which rolled-over log file… (GH-30093) (GH-30094)

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +28318 pull_request: https://github.com/python/cpython/pull/30095 ___ Python tracker ___

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-13 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +28317 pull_request: https://github.com/python/cpython/pull/30094 ___ Python tracker

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-13 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset cb589d1b6bad4b75852c2e2a471a3800d5efdca7 by Vinay Sajip in branch 'main': bpo-46063: Improve algorithm for computing which rolled-over log file… (GH-30093) https://github.com/python/cpython/commit/cb589d1b6bad4b75852c2e2a471a3800d5efdca7

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-13 Thread Vinay Sajip
Change by Vinay Sajip : -- keywords: +patch pull_requests: +28316 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30093 ___ Python tracker ___

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-13 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-13 Thread Sami Salonen
Sami Salonen added the comment: Breaking PR: https://github.com/python/cpython/pull/29310 -- ___ Python tracker ___ ___

[issue46063] TimedRotatingFileHandler deletes wrong files

2021-12-13 Thread Sami Salonen
New submission from Sami Salonen : https://bugs.python.org/issue45628 breaks file rotation. I name my log files after module name, run the modules in separate processes, use the same log config in them, and store the log files in one common directory. For example, for modules `a.b` and