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.

Author vinay.sajip
Recipients steveha, vinay.sajip
Date 2018-05-14.22:28:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1526336925.18.0.682650639539.issue33506@psf.upfronthosting.co.za>
In-reply-to
Content
> The logging library has a small set of predefined filename templates and no way is provided to override them.

What about

https://docs.python.org/3/library/logging.handlers.html#logging.handlers.BaseRotatingHandler.namer

which allows you to specify your own naming scheme?

What prevents you from subclassing one of the existing rotating handlers and implementing the algorithm you want?
History
Date User Action Args
2018-05-14 22:28:45vinay.sajipsetrecipients: + vinay.sajip, steveha
2018-05-14 22:28:45vinay.sajipsetmessageid: <1526336925.18.0.682650639539.issue33506@psf.upfronthosting.co.za>
2018-05-14 22:28:45vinay.sajiplinkissue33506 messages
2018-05-14 22:28:45vinay.sajipcreate