On Wed, Aug 27, 2008 at 11:52:13PM +0200, Roland Eggner wrote:
> As I reported initially, logrotate finally tries to remove a file, which
> does not exist due to option delaycompress.
> Adding a clause for a particular logfile with option nodelaycompress causes
> a matching file to exist and logrotate removes it indeed :(
> 
> 
> Relevant part of /etc/logrotate.conf
> #-----------------------------------
> dateext
> size 2M
> delaycompress
> missingok
> tabooext + .orig
> create
> compress
> include /etc/logrotate.d
> 
> /var/log/iptables-eth.log {
>       size 6M
>       nodelaycompress
> }

Is this daily or weekly? What is "rotate" set to? If it's unset, it will
default to zero.

       rotate count
              Log files are rotated count times before being removed or mailed
              to the address specified in a mail directive. If count is 0, old
              versions are removed rather than rotated.

-- 
Paul Martin <[EMAIL PROTECTED]>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to