Re: Logrotate postscript not able to find just-compressed log

2003-07-04 Thread Ian Stevens
> 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

Logrotate postscript not able to find just-compressed log

2003-07-02 Thread Ian Stevens
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

Logrotate postscript not able to find just-compressed log

2003-07-02 Thread Ian Stevens
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