[rsyslog-notify] Forum Thread: STOP is followed by unreachable statements! - (Mode 'post')
noreply at adiscon.com
noreply at adiscon.com
Fri Mar 3 00:42:58 CET 2017
User: tha2017
Forumlink: http://kb.monitorware.com/viewtopic.php?p=27170#p27170
Message:
----------
Hello,
When I use & stop in my rsyslog.conf, I'm getting the following error:
[code:3ru1v3c2]rsyslogd: error during config processing: STOP is
followed by unreachable statements! [v8.25.0 try
http://www.rsyslog.com/e/2207 ][/code:3ru1v3c2]
I have the following before the Global Directives
[code:3ru1v3c2]
# Template for Log Receipt
$template RemoteLogs,"/var/log/%HOSTNAME%/%PROGRAMNAME%.log"
*.* ?RemoteLogs
& stop
[/code:3ru1v3c2]
It looks like when I comment out everything in the Global Directives, the
error doesn't happen. And even with the error, it looks like everything is
working as it is supposed to.
It is just really bugging me why this error is happening and I wanted to
see if anyone knows.
More information about the rsyslog-notify
mailing list