From BubbaWiki
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