DAGDA SEARCH | Back to results | Support

Issue 33162: TimedRotatingFileHandler in logging module - Python tracker

Source: https://bugs.python.org/issue33162

homepage

Issue33162 ➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Created on 2018-03-28 08:02 by Nikunj jain, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg314569 - (view) Author: Nikunj jain (Nikunj jain) Date: 2018-03-28 08:02
Currently the TimedRotatingFileHandler in Python, when rotates the log file, invents a new file extension by adding the new date in the end of the file name. It would be really good if a prefix option could be provided which instead of adding the new date in end, will add it in the beginning.
msg314856 - (view) Author: Vinay Sajip (vinay.sajip) * (Python committer) Date: 2018-04-03 03:33
You can already roll your own, see

https://docs.python.org/3/library/logging.handlers.html#baserotatinghandler
History
Date User Action Args
2022-04-11 14:58:59adminsetgithub: 77343
2018-04-03 03:33:52vinay.sajipsetstatus: open -> closed
resolution: not a bug
messages: + msg314856

stage: resolved
2018-04-02 19:50:02ned.deilysetnosy: + vinay.sajip
2018-04-02 05:54:16nitishchsetnosy: + nitishch
2018-03-28 08:02:50Nikunj jaincreate
Supported by The Python Software Foundation,
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements