[syslog-ng]syslog-ng log file rotation based on size
Richard E. Perlotto II
rperlott@cisco.com
Sun, 2 Feb 2003 08:09:15 -0800
I really do not think that it is necessary to add this to a logging
program. There
are other features that I would prefer to see before this. There are a
lot of other
programs that already have this functionality for syslog-ng. If you run
these often
enough you should not have your log size problem.
Richard
> -----Original Message-----
> From: syslog-ng-admin@lists.balabit.hu
> [mailto:syslog-ng-admin@lists.balabit.hu] On Behalf Of Balazs
> Scheidler
> Sent: Sunday, February 02, 2003 3:15 AM
> To: syslog-ng@lists.balabit.hu
> Subject: Re: [syslog-ng]syslog-ng log file rotation based on size
>
>
> On Sat, Feb 01, 2003 at 10:33:03AM -0800, Nate Campi wrote:
> > standpoint it's sometimes best to keep them smaller and
> deal with them
> > in smaller chunks anyways; especially when you need to
> rotate logs off
> > a machine to save local disk space.
> >
> > Any hope of such a feature Bazsi? Perhaps in syslog-ng 2?
>
> I don't really want to bloat syslog-ng too much with log
> rotation, unless the feature is general enough.
>
> The possibility to call an external program regularly for
> each file destination would be fine, however how often should
> this program be called?
>
> Or create three options like:
>
> rotate_program
> rotate_if_older
> rotate_if_larger
>
> And pass the file to be rotated to rotate_program?
>
> rotate_if_older would be problematic as syslog-ng has no
> information when it started to write to a given file.
>
> --
> Bazsi
> PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD
> 804E C82C 8EB1
>
> _______________________________________________
> syslog-ng maillist - syslog-ng@lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/sysl> og-ng
>
> Frequently asked questions at
> http://www.campin.net/syslog-ng/faq.html
>
>
>