> If this is the case, will I have to compress the just-rotated
> logfile in the postrotate script if I want to copy a compressed file?
The answer is probably "yes". The following rule works on an
uncompressed file:
/var/log/phantom/phantom.log {
daily
missingok
rotate 52
I want to be able to copy a just-compressed logfile from one machine to
another. Unfortunately, the following rule does not seem to work as
/var/log/phantom.log.1.gz never seems to be present when the postrotate
script is called. Is the just-rotated logfile not compressed until
after postrotate i
I want to be able to copy a just-compressed logfile from one machine to
another. Unfortunately, the following rule does not seem to work as
/var/log/phantom.log.1.gz never seems to be present when the postrotate
script is called. Is the just-rotated logfile not compressed until
after postrotate i
3 matches
Mail list logo