Re: CLOG support in syslogd

看板DFBSD_kernel作者時間21年前 (2004/10/29 03:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/21 (看更多)
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
文章代碼(AID): #11WK7p00 (DFBSD_kernel)
討論串 (同標題文章)
文章代碼(AID): #11WK7p00 (DFBSD_kernel)