diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-09-05 11:11:52 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-09-05 11:11:52 +0000 |
commit | 0dc7ddd0ea702857c1d5512826e222212b634cb5 (patch) | |
tree | acb1eeea8809ff3c722890163c9cf28adc642508 /sample.conf | |
parent | 5d91897dcde59e6ce4ece3e815f55e71a6e2d964 (diff) | |
download | rsyslog-0dc7ddd0ea702857c1d5512826e222212b634cb5.tar.gz rsyslog-0dc7ddd0ea702857c1d5512826e222212b634cb5.tar.xz rsyslog-0dc7ddd0ea702857c1d5512826e222212b634cb5.zip |
added a debugging template
Diffstat (limited to 'sample.conf')
-rw-r--r-- | sample.conf | 3 |
1 files changed, 3 insertions, 0 deletions
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%" |