@%@UCRWARNING=# @%@ @!@ # TCP (@@) is mandatory since failover is used (UDP is not reliable for fail detection) if configRegistry.get("syslog/remote/destination"): print "%s\t\t@@%s" % (configRegistry.get("syslog/remote/channels",'*.*'),configRegistry.get("syslog/remote/destination")) print '$ActionExecOnlyWhenPreviousIsSuspended on' for server in configRegistry.get("syslog/remote/destination/failover", '').split(): if server: print '& @@%s' % server print '& /var/log/localbuffer' print '$ActionExecOnlyWhenPreviousIsSuspended off' @!@