Project

General

Profile

zephir.conf

Vincent Febvre, 01/28/2016 10:44 AM

Download (452 Bytes)

 
1
# Templates for local and remote logging
2
$template DynLocalZephir, "/var/log/rsyslog/local/zephir/zephir.log"
3
$template DynRemoteZephir, "/var/log/rsyslog/remote/%hostname:::secpath-replace%/zephir/zephir.log"
4
# all messages from localhost go in local branch
5
if $programname isequal 'zephir' and $fromhost-ip isequal '127' then ?DynLocalZephir
6
& stop
7
# all remaining messages go in remote branch
8
:programname, isequal, "zephir" ?DynRemoteZephir
9
& stop