[rsyslog-notify] Forum Thread: Re: Rsyslog forwarding or listening configuration - (Mode 'reply')
noreply at adiscon.com
noreply at adiscon.com
Wed Nov 18 18:15:07 CET 2015
User: yurka44
Forumlink: http://kb.monitorware.com/viewtopic.php?p=26166#p26166
Message:
----------
I've done it.
postrotate
<------>pkill -HUP rsyslog
reload rsyslog >/dev/null 2>&1 || true
endscript
It seems working correctly now.
Thank you guys for advises.
I guess my last question would be:
As we can see I've used FileFacility and FileSeverity to my log files. In
this case all local0.* or *.info files goes to another files by default:
*.info;mail.none;authpriv.none;cron.none /var/log/messages
etc
The messages contains this file tag ( like 'application' or smth).
So my question is - how to tell to rsyslog do not do that?
I found this example:
:msg, contains, "error" /var/log/error.log
& ~
but also read a lot about it, but still can't get it. It's possible do not
write the messages from this files, which I listened on server to default
log files?
I mean it's ok if my application could write a messages to files, which I
want to use, but with this Facility and Severity it's possible to not write
them at all, except mine?
PS this examples couldn't working on v5?
More information about the rsyslog-notify
mailing list