summaryrefslogtreecommitdiff
path: root/puppet/modules/site_rsyslog/templates
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_rsyslog/templates')
-rw-r--r--puppet/modules/site_rsyslog/templates/client.conf.erb8
1 files changed, 2 insertions, 6 deletions
diff --git a/puppet/modules/site_rsyslog/templates/client.conf.erb b/puppet/modules/site_rsyslog/templates/client.conf.erb
index 7f94759d..1a1e4b6d 100644
--- a/puppet/modules/site_rsyslog/templates/client.conf.erb
+++ b/puppet/modules/site_rsyslog/templates/client.conf.erb
@@ -83,7 +83,7 @@ $ActionSendStreamDriverAuthMode anon
<% if scope.lookupvar('rsyslog::log_style') == 'debian' -%>
# Log auth messages locally
-.*;auth,authpriv.none;mail.none -/var/log/syslog
+auth,authpriv.* /var/log/auth.log
<% elsif scope.lookupvar('rsyslog::log_style') == 'redhat' -%>
# Log auth messages locally
auth,authpriv.* /var/log/secure
@@ -93,7 +93,7 @@ auth,authpriv.* /var/log/secure
<% if scope.lookupvar('rsyslog::log_style') == 'debian' -%>
# First some standard log files. Log by facility.
#
-*.*;auth,authpriv.none -/var/log/syslog
+*.*;auth,authpriv.none;mail.none -/var/log/syslog
cron.* /var/log/cron.log
daemon.* -/var/log/daemon.log
kern.* -/var/log/kern.log
@@ -106,10 +106,6 @@ user.* -/var/log/user.log
*.=debug;\
auth,authpriv.none;\
news.none;mail.none -/var/log/debug
-*.=info;*.=notice;*.=warn;\
- auth,authpriv.none;\
- cron,daemon.none;\
- mail,news.none -/var/log/messages
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!