I'm running rsyslogd 4.2.0 on Ubuntu. I'm trying to use the output channel feature described here: http://www.rsyslog.com/doc/rsyslog_conf_output.html
Here's the relevant portion of my config:
$outchannel test_rotated,/var/log/test/test.log,1000000,/root/scripts/rotate-test-logs.pl local0.* :omfile:$test_rotated
But rsyslog refuses to do anything and the /var/log/test/test.log does not even appear. If I replace those two lines with:
everything works (but file is not rotated automatically of course).
What am I missing?