Re: CLOG support in syslogd

看板DFBSD_kernel作者時間21年前 (2004/10/29 09:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串9/21 (看更多)
Brian Reichert wrote: : Not that I'd suggest the DFly adopt such, but I've been exploring : 'socklog' for 'secure' and 'reliable' logging. You have to buy : into a different universe... : : http://smarden.org/socklog/ Or you could enter a _really_ different universe and run Dan Bernstein's multilog. (http://cr.yp.to/daemontools/multilog.html) You specify how many files you want and how big you want each one, and it worries about rotating them, and marking the latest "incomplete" in case of a system crash, or "complete" if it was closed properly. In any case, you simply pipe your syslog data to multilog and it takes care of everything. OTOH, the "canonical" way to run multilog - using supervise - is a bit strange and heterodox, but I've grown to like it. Cheers, - David
文章代碼(AID): #11WPPF00 (DFBSD_kernel)
討論串 (同標題文章)
文章代碼(AID): #11WPPF00 (DFBSD_kernel)