[syslog-ng] Logrotate Questions And Solicitation For Ideas...

Vadim Pushkin wiskbroom at hotmail.com
Thu Jul 20 20:53:17 CEST 2006


Hi Nate;

I'd love to use logrotate, but as you can see from my original post, my logs 
are in a bunch of dirs, mostly created on the fly as new stuff comes in.  
How do I configure logrotate.conf for this?

Thank you,

.vp

>From: Nate Campi <nate at campin.net>

>On Wed, Jul 19, 2006 at 10:07:39PM -0400, Valdis.Kletnieks at vt.edu wrote:
> > On Wed, 19 Jul 2006 22:26:15 -0000, Vadim Pushkin said:
> > > Again, I am looking to rotate my logs, not delete them.  Ideally, 
>something
> > > like retaining *.logs.1 *.logs.2, etc.
> >
> > Oh my.  They *have* to be called logs, logs.1, logs.2, logs.3... 
>logs.30? :)
>
>Go with what Valdis recommends. If you really have to rotate them, use
>logrotate.
>--
>Nate




More information about the syslog-ng mailing list