RSyslogd

From BubbaWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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