1 2 3 4 5 6
# Template the destination file$template CUSTOM_LOGS,"/var/log/%programname%.log"if $programname == 'KEA-MLTD' then ?CUSTOM_LOGSif $programname == 'KEA-MLTD' then @@(o)RSYSLOG_SERVER:RSYSLOG_PORTif $programname == 'KEA-MLTD' then stop