diff options
Diffstat (limited to 'grammar/debian.new')
-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") +} |