From 81b302eb654099a8919458cb3b18168cc7b98ff7 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 13 Jul 2011 12:54:38 +0200 Subject: doc: v6 compatiblity doc added --- grammar/debian.new | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'grammar') 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") +} -- cgit