Last active
March 2, 2023 15:42
-
-
Save csamsel/dcf2fa7216e33a24cca27cb145a7e724 to your computer and use it in GitHub Desktop.
use lzma for logrotate instead of gzip for better compression
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ... | |
# compress rotated log files. | |
compress | |
compresscmd lzma | |
uncompresscmd lzmadec | |
compressext .xz | |
delaycompress | |
# ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment