[rsyslog] 5.1.3 problems with conditions in rsyslog.conf

david at lang.hm david at lang.hm
Thu Jul 30 03:24:12 CEST 2009


I have the following in my config file

:programname, isequal, "iaalog" ~
:programname, isequal, "plug-gw" ~
*.* @192.168.210.246:514;TraditionalFormat

the first time a log entry comes along that has a program name of iaalog 
rsyslog crashes

6183.244020652:40f00950: msg parser: flags 30, from '192.168.210.6', msg '<5>Jul 29 18:09:43 192.168.242.178 iaalog[112682]: AIB|leaderscu|2009/07/29 21:09:05|history|1428800'
6183.244047218:40f00950: Message has legacy syslog format.
6183.244051641:40f00950: Called action, logging to builtin-file
6183.244055509:40f00950: submitBatch: i:0, batch size 1, to process 1, pMsg: 0x1926600
6183.244058853:40f00950: Action 0x1923b90 transitioned to state: itx
6183.244062030:40f00950: entering actionCalldoAction(), state: itx
6183.244066591:40f00950: file to log to: /var/log/messages
6183.244070038:40f00950: doWrite, pData->pStrm 0x1923560, lenBuf 100
6183.244073820:40f00950: strm 0x1923560: file 5 flush, buflen 100
6183.244079133:40f00950: strm 0x1923560: file 5 write wrote 100 bytes
6183.244083241:40f00950: Action 0x1923b90 transitioned to state: rdy
6183.244086454:40f00950: action call returned 0
6183.244091070:40f00950: Filter: check for property 'programname' (value 'iaalog') isequal 'iaalog': TRUE
6183.244096297:40f00950: Called action, logging to builtin-discard
6183.244100144:40f00950: submitBatch: i:0, batch size 1, to process 1, pMsg: 0x1926600
6183.244103422:40f00950: Action 0x19241a0 transitioned to state: itx
6183.244106591:40f00950: entering actionCalldoAction(), state: itx
6183.244109759:40f00950:
6183.244113010:40f00950: action call returned -2002

David Lang



More information about the rsyslog mailing list