[rsyslog-notify] Forum Thread: Re: no logging on client please - (Mode 'reply')

noreply at adiscon.com noreply at adiscon.com
Mon Apr 25 21:00:47 CEST 2016


User: dlang 
Forumlink: http://kb.monitorware.com/viewtopic.php?p=26506#p26506

Message: 
----------
well, if you want everything in messages, then don't use a template that
says to put them in files named %programname%

you use the filename template:

$template TmplAuth, "/var/log/rsyslog_custom/%HOSTNAME%/%PROGRAMNAME%" 

if you want them to end up in a single file per server called messages, use
a template like:

$template TmplAuth, "/var/log/rsyslog_custom/%HOSTNAME%/messages"


More information about the rsyslog-notify mailing list