[nSLUG] suggestion on rsyslog configuration

Baha Baydar bbaydar at gmail.com
Thu Jun 12 14:01:57 ADT 2014


You have to put an exclude in for the messages line. This should give you
some pointers:
http://www.linux.com/community/forums/productivity/prevent-rsyslog-from-writing-messages-from-remote-hosts-to-var-log-messages


On Thu, Jun 12, 2014 at 1:44 PM, francis picabia <fpicabia at gmail.com> wrote:

> Hi,
>
> I've got a system to collect rsyslog from some vmware boxes.
>
> So in the rsyslog.conf there is this:
>
> $template TmplAuth,"/var/log/system-%HOSTNAME%.log"
> *.warning  -?TmplAuth
>
> However the messages log is also getting the remote stuff from this:
>
> *.info;mail.none;authpriv.none;cron.none                /var/log/messages
>
> How can I have remote stuff only go to the TmplAuth, or
> block remote log stuff at /var/log/messages?
>
>
>
> _______________________________________________
> nSLUG mailing list
> nSLUG at nslug.ns.ca
> http://nslug.ns.ca/mailman/listinfo/nslug
>
>


-- 
Baha Baydar                      http://www.hyperion.org
bbaydar at gmail.com           http://www.hal-con.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nslug.ns.ca/pipermail/nslug/attachments/20140612/bfce63c9/attachment.html>


More information about the nSLUG mailing list