-
-
Save anonymous/ba36b812aba67ad49364 to your computer and use it in GitHub Desktop.
..still written to /var/log/syslog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
in /etc/rsyslog.d/01-bis.conf | |
----------------- | |
:msg, contains, "bis_cronjob" /var/log/bis/cron.log | |
& ~ | |
----------------- | |
% echo "TEST" | logger -t bis_cronjob | |
the TEST logentries are still written /var/log/syslog instead of /var/log/bis/cron.log | |
Ubuntu 10.04.4 LTS | |
rsyslog 4.2.0-2ubuntu8.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment