RSyslogd

From BubbaWiki
Revision as of 20:04, 22 November 2010 by Andreas Gohr (talk | contribs) (added info from http://forum.excito.net/viewtopic.php?f=9&t=2713&p=12841)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

All kinds of system data is logged to various logs in /var/log/* by rsyslogd. It is configured in /etc/rsyslog.d/ where you can easily add addtional rules.

Example: to filter certain outputs by FTD from the logs you can create a /etc/rsyslog.d/ftd.conf file containing:

 # Don't log tracker and scrape messages
 :msg, contains, "Tracker announce failed" ~
 :msg, contains, "Scrape failed" ~

Remember to restart the daemon when you make changes:

 /etc/init.d/rsyslog restart