Open sylvainroussy opened 6 years ago
Right now there is nothing built-in for rolling logs. You could write your own ILogManager to change the current backup logic (we can make it a feature request if you like).
It is probably easier to set up a cronjob/scheduled task to periodically delete them (or ones older than X). If you are on linux/unix, you can find sample commands online to do so, like here: https://unix.stackexchange.com/questions/194863/delete-files-older-than-x-days
There is a plan to change the way logging works in a future major release so it gives people more control (also related to https://github.com/Norconex/jef/issues/6).
Can scheduling cleanup jobs work for you?
Hi! I have an important issue about logs. The backup directory for logs grows too quickly and my file system is fulfilled to early.
How can I disable this backup, or having a rolling on this ?