Skip to content

Commit 6023cb1

Browse files
committed
add explicit stop after auth message logging, fixes #293
1 parent c3c5923 commit 6023cb1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

templates/client/local.conf.erb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@
44
<% if scope['rsyslog::log_style'] == 'debian' -%>
55
# Log auth messages locally
66
auth,authpriv.* /var/log/auth.log
7+
&~
78
<% elsif scope['rsyslog::log_style'] == 'redhat' -%>
89
# Log auth messages locally
910
auth,authpriv.* /var/log/secure
11+
&~
1012
<% elsif scope['rsyslog::log_style'] == 'freebsd' -%>
1113
# Log auth messages locally
1214
auth.info;authpriv.info /var/log/auth.log
15+
&~
1316
<% end -%>
1417
<% end -%>
1518
<% if @log_local -%>

0 commit comments

Comments
 (0)