> 2009/9/5 Steve Edwards <asterisk....@sedwards.com> > >> <snip> >> You can, but I don't. I do it like this: >> >> <snip>
On Sun, 6 Sep 2009, Olivier wrote: > Very, very interesting practises. > > Originally, I opened this thread when I wondered whether or not, I > should centralize logs (and from that original question, I came to study > some tiny details like finding why some software needs to be notified of > log rotations and why some appearantly don't ...). > > What kept me from doing this before, is my capability to analyse a large > central log file compared to analyse several specific log files. With a > couple of grep commands, it should be possible to break a central file > back into several files, so the only downside of centralizing would be > having to edit those grep command lines. > > To avoid that, have you tried tools like phpLogCon ? Nope. Never heard of phpLogCon before. Back when I did web farms, we would break the multi-GB daily log file down by web site so we could distribute the logs to the groups responsible for those sites. For Asterisk farms, I just keep all the log messages in a single file. When I'm curious, I run a script that (using egrep) discards everything I'm expecting so I only have to look at the unexpected. I don't use the log files for statistics. I write everything I need for statistics to the database from my [AGI empowered] dialplan. -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users