Hi,
I am using rsyslog 3.16.2.
When I specify the script of command to issue when a log reaches its
max size, how do I specify the command with parameters? This is what I
did:
$outchannel ch_common,/var/log/messages/1048675,\
mv -f /var/log/messages /var/log/messages.0
Do I use a quotation mark or a single quote or something else? Your
help says to specify a script but does that line except a single word
for the script, meaning it can not take parameters? To clarify, if I
have a script that is named rotate and I want to use it for multiple
logs, I would like to say "rotate /var/log/message". Is this possible?
I am getting this error message:
rsyslogd: omfwd.c:318: doTryResume: Assertion `0' failed.
What does this mean?
Thanks for your help!! I really like how rsyslogd has a lot of
configurable properties.
Scott
I am using rsyslog 3.16.2.
When I specify the script of command to issue when a log reaches its
max size, how do I specify the command with parameters? This is what I
did:
$outchannel ch_common,/var/log/messages/1048675,\
mv -f /var/log/messages /var/log/messages.0
Do I use a quotation mark or a single quote or something else? Your
help says to specify a script but does that line except a single word
for the script, meaning it can not take parameters? To clarify, if I
have a script that is named rotate and I want to use it for multiple
logs, I would like to say "rotate /var/log/message". Is this possible?
I am getting this error message:
rsyslogd: omfwd.c:318: doTryResume: Assertion `0' failed.
What does this mean?
Thanks for your help!! I really like how rsyslogd has a lot of
configurable properties.
Scott