Skip to content
Snippets Groups Projects
Commit ade731dd authored by Chris Hines's avatar Chris Hines
Browse files

rsyslog clients should log locally as well as centrally

parent 54402088
No related branches found
No related tags found
1 merge request!107rsyslog clients should log locally as well as centrally
......@@ -45,33 +45,39 @@ $IMJournalStateFile imjournal.state
#### RULES ####
*.* @{{ syslog_server }}:514
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console
kern.* /dev/console
& @{{ syslog_server }}:514
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
#*.info;mail.none;authpriv.none;cron.none /var/log/messages
*.info;mail.none;authpriv.none;cron.none /var/log/messages
& @{{ syslog_server }}:514
# The authpriv file has restricted access.
#authpriv.* /var/log/secure
authpriv.* /var/log/secure
& @{{ syslog_server }}:514
# Log all the mail messages in one place.
#mail.* -/var/log/maillog
mail.* -/var/log/maillog
& @{{ syslog_server }}:514
# Log cron stuff
#cron.* /var/log/cron
cron.* /var/log/cron
& @{{ syslog_server }}:514
# Everybody gets emergency messages
#*.emerg :omusrmsg:*
*.emerg :omusrmsg:*
# Save news errors of level crit and higher in a special file.
#uucp,news.crit /var/log/spooler
uucp,news.crit /var/log/spooler
& @{{ syslog_server }}:514
# Save boot messages also to boot.log
#local7.* /var/log/boot.log
local7.* /var/log/boot.log
& @{{ syslog_server }}:514
# ### begin forwarding rule ###
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment