From 2f1948031b6aa251b49e5fed11bc687d64e77692 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Wed, 11 Jan 2017 17:57:11 -0800 Subject: [PATCH] logging Signed-off-by: Jess Frazelle --- postfix/rsyslog.conf | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/postfix/rsyslog.conf b/postfix/rsyslog.conf index e3e1d57..fd13a8b 100644 --- a/postfix/rsyslog.conf +++ b/postfix/rsyslog.conf @@ -3,7 +3,7 @@ # You may need to set the module load path if modules are not found. $ModLoad immark.so # provides --MARK-- message capability -#$ModLoad imuxsock.so # provides support for local system logging (e.g. via logger command) +$ModLoad imuxsock.so # provides support for local system logging (e.g. via logger command) #$ModLoad imklog.so # kernel logging (formerly provided by rklogd) # default permissions for all log files. @@ -28,25 +28,25 @@ $IncludeConfig /etc/rsyslog.d/* # 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 # The authpriv file has restricted access. -#authpriv.* /var/log/secure +authpriv.* /var/log/secure # Log all the mail messages in one place. mail.* -/var/log/mail.log # Log cron stuff -###cron.* -/var/log/cron +cron.* -/var/log/cron # Everybody gets emergency messages -###*.emerg * +#*.emerg * # Save news errors of level crit and higher in a special file. -###uucp,news.crit -/var/log/spooler +uucp,news.crit -/var/log/spooler # Save boot messages also to boot.log -###local7.* /var/log/boot.log +local7.* /var/log/boot.log # More configuration examples: #