Add the following to /etc/logrotate.conf to use xz instead of gzip for compressed logfiles:
compresscmd /usr/bin/xz
uncompresscmd /usr/bin/unxz
compressext .xz
Return to note list
Add the following to /etc/logrotate.conf to use xz instead of gzip for compressed logfiles:
compresscmd /usr/bin/xz
uncompresscmd /usr/bin/unxz
compressext .xz