Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

METRON-148 compress logs with logrotate #329

Closed
wants to merge 1 commit into from

Conversation

ottobackwards
Copy link
Contributor

Add compress configuration for logrotate.d/ configurations

Tested using the logrotate -f /etc/logrotate.d/metron-* commands

@ottobackwards
Copy link
Contributor Author

kicking travis

@dlyle65535
Copy link
Contributor

Looks good to me, Otto. How did you test it?

@ottobackwards
Copy link
Contributor Author

vagrant - full_dev and quick running >logrotate -f /etc/logrotate.d/metron-{CONFIGNAME}
I changed some of the retain numbers down to 1/2 as well while testing

@ottobackwards
Copy link
Contributor Author

If you know a better way - I'd be happy to learn it

@dlyle65535
Copy link
Contributor

Nope those are the best ways. I'd be happy with only quick_dev, but I'm good with both.

+1, thanks!

@asfgit asfgit closed this in 45f0d5b Nov 2, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants