DragonFly BSD
DragonFly kernel List (threaded) for 2004-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: CLOG support in syslogd


From: Garance A Drosihn <drosih@xxxxxxx>
Date: Thu, 28 Oct 2004 14:39:33 -0400

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@xxxxxxxxxxx) 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@xxxxxxxxxxxxxxxxxxxx
Senior Systems Programmer           or  gad@xxxxxxxxxxx
Rensselaer Polytechnic Institute    or  drosih@xxxxxxx



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]