diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-07-13 12:54:38 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-07-13 12:54:38 +0200 |
commit | 81b302eb654099a8919458cb3b18168cc7b98ff7 (patch) | |
tree | 04d703bf6b1bf4e184215c9bdb7f072c284f4fde /grammar | |
parent | 742afce7458505be1a82792c9b5728f58456565d (diff) | |
download | rsyslog-81b302eb654099a8919458cb3b18168cc7b98ff7.tar.gz rsyslog-81b302eb654099a8919458cb3b18168cc7b98ff7.tar.xz rsyslog-81b302eb654099a8919458cb3b18168cc7b98ff7.zip |
doc: v6 compatiblity doc added
Diffstat (limited to 'grammar')
-rw-r--r-- | grammar/debian.new | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/grammar/debian.new b/grammar/debian.new index 6cf9b5e5..4dbb5907 100644 --- a/grammar/debian.new +++ b/grammar/debian.new @@ -154,11 +154,12 @@ then /dev/tty10 # remote host is: name/ip:port, e.g. 192.168.0.1:514, port optional #*.* @@remote-host:514 # ### end of the forwarding rule ### -if $msg contains "error" then +if $msg contains "error" then { action(type="omfwd" protocol="tcp" target="10.0.0.1:514" action.retryCount="-1" queue.type="linkedList" queue.fileName="fwdRule" queue.maxDiskSpace="1g" queue.saveOnShutdown="on" ) - & action(type="omfile" target="/var/log/somelog.log") - & action(type="omuser" target="all") + action(type="omfile" target="/var/log/somelog.log") + action(type="omuser" target="all") +} |