Would it be possible to support another naming rule for the RollingFileAppender
other that the native one?
It would be usefull if filename could contains its closing date/time instead of its index, e.g.: dummyFile_20100114_102012.log
, dummyFile_20100115_102511.log
Doesn't the DailyRollingFileAppender do that already?
Not exactly : DailyRolling occurs on day change.
What would be useful is a kind of mix of DailyRolling (to have the date in filenames) and classinc Rollin : which occurs on file size.
This would be a Rolling mechanism but with filename including the date instead of the index (1, 2, ...)
Ticket moved from /p/log4cplus/feature-requests/21/
Diff:
Changed the naming rule from Test.log.<index_value> to Test_yymmdd_hhmmss.log format to name log files. Now log filenames contain date and time.