Thread

Posted on Tue Aug 9 09:26:44 2005 by rudolph
supported syslog formats
What syslog formats is POE::Filter::Syslog meant to support?
t/01-filter.t has:
... my $ts = strftime("%b %d %H:%M:%S", localtime($now)); my $complex = "<1>$ts /USR/SBIN/CRON[16273]: (root) CMD (test -x /usr/lib/syssta t/sa1 && /usr/lib/sysstat/sa1)"; my $simple = "<1>$ts sungo: pie"; my $nodate = '<78>CROND[19679]: (root) CMD (/usr/bin/mrtg /etc/mrtg/mrtg.cfg)'; ...
which isn't a syslog format familiar to me.
Any information about this would be appreciated.
Thanks
Direct Responses: 954 | Write a response
Posted on Thu Sep 1 23:19:34 2005 by rudolph in response to 860
Re: supported syslog formats
The format is, of course, one of the remote logging formats generate by syslog. I'd been blinded by wanting to parse local logfiles and hadn't considered remote logging at all.
Write a response