Hello list,
I recently tried out message queuing using rsyslog-5.6.3.
Take the following config snippet:
...
# Throw out all messages with debug severity before we log to the network
if $syslogseverity-text == 'debug'
then ~
$WorkDirectory /var/spool/rsyslog # location for work (spool) files
$ActionQueueType LinkedList # use asynchronous processing
$ActionQueueFileName logserver-queue # set file name, also enables
disk mode
$ActionResumeRetryCount -1 # infinite retries on insert failure
$ActionQueueSaveOnShutdown on # save in-memory data if rsyslog
shuts down
# Log anything that hasn't been specifically filtered out with '~' to
logserver
*.* @logserver.colorado.edu
...
In this scenario I would assume that all messages with the severity of
debug don't get logged over the network to 'logserver.colorado.edu'. But
they do. If I comment all 5 of the directives that activate queuing, the
debug messages are no longer logged over the network.
Is this by design, and if so could someone explain why? Is this a bug?
Do I have a configuration problem?
Thanks!
Eric Schoeller
University of Colorado, Boulder
Information Technology Services
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com