Don't log process PID or timestamp
23 May
2007
23 May
'07
9:54 a.m.
Hi, I'm running syslog-ng on my log-server. I don't want it to include the PID, timestamp or hostname in the log it captures. Is it possible to strip this on the server-side, or must this be done on the client that sends the syslog messages? use Net::Syslog; my $s=new Net::Syslog(Facility=>'local1',Priority=>'info',SyslogHost=>'loghost.com'); $s->send('see this in syslog',Priority=>'info'); Generates: May 16 10:15:06 webserver apache-syslogger.pl[14490]: see this in syslog I only want to see "see this in syslog". All advice is highly appreciated! :) -- Martin Stabenfeldt
6667
Age (days ago)
6667
Last active (days ago)
0 comments
1 participants
participants (1)
-
Martin Stabenfeldt