From 0dc7ddd0ea702857c1d5512826e222212b634cb5 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 5 Sep 2007 11:11:52 +0000 Subject: added a debugging template --- sample.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sample.conf') diff --git a/sample.conf b/sample.conf index 6120ac14..a27de0c1 100644 --- a/sample.conf +++ b/sample.conf @@ -146,6 +146,9 @@ $AllowedSender TCP, 10.0.0.1 # for TCP, we allow only 10.0.0.1 # A template that resambles traditional syslogd file output: $template TraditionalFormat,"%timegenerated% %HOSTNAME% %syslogtag%%msg:::drop-last-lf%\n" +# a template useful for debugging format issues +$template DEBUG,"Debug line with all properties:\nFROMHOST: '%FROMHOST%', HOSTNAME: '%HOSTNAME%', PRI: %PRI%,\nsyslogtag '%syslogtag%', programname: '%programname%', APP-NAME: '%APP-NAME%', PROCID: '%PROCID%', MSGID: '%MSGID%',\nTIMESTAMP: '%TIMESTAMP%', STRUCTURED-DATA: '%STRUCTURED-DATA%',\nmsg: '%msg%'\nescaped msg: '%msg:::drop-cc%'\nrawmsg: '%rawmsg%'\n\n" +# # A template that resembles RFC 3164 on-the-wire format: # (yes, there is NO space betwen syslogtag and msg! that's important!) $template RFC3164fmt,"<%PRI%>%TIMESTAMP% %HOSTNAME% %syslogtag%%msg%" -- cgit