[issue44186] TimedRotatingFileHandler overwrite log
Vinay Sajip
report at bugs.python.org
Mon Aug 2 03:48:35 EDT 2021
Vinay Sajip <vinay_sajip at yahoo.co.uk> added the comment:
OK, I get it now :-)
See my comments on the PR - I think the renaming strategy might need rethinking in the presence of a "namer" routine being set. See bpo-43344, bpo-44753. This area (TimedRotatingFileHandler) is unfortunately not yet well tested, because you would need mocking to avoid delays in test runs. But ideally, we would test in the absence and presence of a renamer routine that moved the ".log" to the end of the filename.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44186>
_______________________________________
More information about the Python-bugs-list
mailing list