A
Allan Cady
I'm currently using the FileHandler class to implement log file
rollover. It's inconvenient for me that it uses a scheme of renaming
all of the log files every time it rolls over... e.g. log005 ->
log006, log004 -> log005, etc., such that the newest file is always
numbered zero. I would prefer if it would leave the old files alone,
and start a new file with a new name, so that the newest file has the
highest number.
As far as I can tell, this is not possible with FileHandler. Can
anyone recommend a way that I can do what I want, without having to
rewrite FileHandler?
Thanks
rollover. It's inconvenient for me that it uses a scheme of renaming
all of the log files every time it rolls over... e.g. log005 ->
log006, log004 -> log005, etc., such that the newest file is always
numbered zero. I would prefer if it would leave the old files alone,
and start a new file with a new name, so that the newest file has the
highest number.
As far as I can tell, this is not possible with FileHandler. Can
anyone recommend a way that I can do what I want, without having to
rewrite FileHandler?
Thanks