log4z
log4z copied to clipboard
Does log4z clear old logs in the logfolder?
Hi.
Good work! Just wondering if the logger clears old logs in the logfolder when files are getting too big and too many, or them being too old? Is it something we need to clean up ourselves from time to time or through a flag in the config file somewhere?
Really appreciate the work! :-)
Thanks.
I think I know the answer. There is no delete if file is too big and too many but there is a delete after too old. The time after too old is defined in seconds and the key to use in config is reserve so delete after 30 days is,
reserve=2.592e+6
Does that look right?