Thread: logrotate
View Single Post

   
  #2 (permalink)  
Old 02-21-2008, 08:03 AM
Chris Severn
 
Posts: n/a
Default Re: logrotate

Lukasz Zamel wrote:
> I've left the default configuration of logrotate.
> Where does it put old logs. Shouldn't it be messages.1 ??
>


The standard place to put them is as messages.1, messages.2 etc in the
same directory as "messages", probably /var/log/

Another question on this topic :
How can I make logrotate use two digits ? Ie messages.01, messages.02
to messages.09, messages.10, messages.11 ?

I don't like the way that my directory is sorted at the moment when
rotating more than 10 backups of a file.

Chris
Reply With Quote