Re: CLOG support in syslogd
At 2:41 PM +0200 10/28/04, Emiel Kollof wrote:
>Op donderdag 28 oktober 2004, schreef Jeroen Ruigrok/asmodai:
> > -On [20041028 02:52], Scott Ullrich (geekgod@geekgod.com) wrote:
> > > This would allow someone to set the size of a log file and syslogd
> > > would automatically keep the file size from growing larger than
> > > specified.
> >
>> How is this different from the size column in /etc/newsyslog.conf?
>
>newsyslog is run from cronjob and can not ensure that the log
>size stays below the value in newsyslogd.conf. AFAICT this can.
If I recall correctly, Wes Peters was interested in doing something
similar with syslogd in FreeBSD. The one thing I'd suggest is that
you still let newsyslog do the file rotation. I did had some new
features to newsyslog to help with this, but I don't think Wes ever
made the matching changes to syslogd. He might have made the changes
to the 5.x-branch, but never MFC'ed them into 4.x. I did MFC my
changes to newsyslog.
--
Garance Alistair Drosehn = gad@gilead.netel.rpi.edu
Senior Systems Programmer or gad@freebsd.org
Rensselaer Polytechnic Institute or drosih@rpi.edu
討論串 (同標題文章)
完整討論串 (本文為第 5 之 21 篇):