Skip to content

Instantly share code, notes, and snippets.

Created May 26, 2012 08:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/ba36b812aba67ad49364 to your computer and use it in GitHub Desktop.
Save anonymous/ba36b812aba67ad49364 to your computer and use it in GitHub Desktop.
..still written to /var/log/syslog
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