Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to disable backup for logs ? #7

Open
sylvainroussy opened this issue Dec 5, 2017 · 1 comment
Open

How to disable backup for logs ? #7

sylvainroussy opened this issue Dec 5, 2017 · 1 comment

Comments

@sylvainroussy
Copy link

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 ?

@essiembre
Copy link
Contributor

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 #6).

Can scheduling cleanup jobs work for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants