Be warned that @filbo's method sort of requires §compressext xz§ cuz
otherwise the XZ-compressed files end in gz but still are xz files. Or
at least on 12.04 it does.
As an semi-offtopic, I added §nomail§ to not get that uselessness into
mail files on the computer, and §notifempty§ is also worth
I modified each config to use xz with the options.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/662312
Title:
Cannot handle spaces in compressoptions
To manage notifications about this bug go to:
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: logrotate (Ubuntu)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/662312
Title:
Ubuntu Server 12.04.4 LTS x64, no desktop
§uname -a§=Linux rautamiekka.org 3.10.23--std-ipv6-64 #1 SMP Mon Dec 9
18:53:52 CET 2013 x86_64 x86_64 x86_64 GNU/Linux
logrotate 3.7.8
This still exists although it's old as something !
--
You received this bug notification because you are a
For what it's worth, the lines from §/etc/logrotate.d/apache2§:
/var/log/apache2/*.log {
weekly
missingok
rotate 52
compress
compresscmd /usr/bin/xz
compressoptions -vvz9e --lzma2=dict=64MiB,mf=bt4,nice=273 --threads=3
delaycompress
notifempty
create 640 root
Testing on saucy, problem no longer exists. This makes sense as it
contains logrotate 3.8.3; ability to have spaces in compressoptions was
patched in as of debian package version 3.8.1-5.
I tried installing the trusty build of logrotate on precise and it
failed wanting a slightly newer libacl1.
** Changed in: logrotate (Debian)
Status: Confirmed = Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/662312
Title:
Cannot handle spaces in compressoptions
To manage
** Changed in: logrotate (Debian)
Status: Unknown = Confirmed
--
Cannot handle spaces in compressoptions
https://bugs.launchpad.net/bugs/662312
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list