Ubuntu 64 14.04 comes with rsyslog (7) built-in.
I've added test.conf
to /etc/rsyslog.d
with the following line:
:syslogtag,isequal,"test" /var/log/test.log
I then restart rsyslog and log using logger
:
echo "hi there" | logger -t test
I expect that line to reach /var/log/test.log
, but instead it reaches syslog.log
.
What am I doing wrong?