Skip to content

Commit f386d77

Browse files
authored
Merge pull request #1193 from lsst-it/IT-5417/rsyslog-maillog
(rsyslog::config::actions) stop writing to /-/var/log/maillog
2 parents 7b9206e + 713261d commit f386d77

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hieradata/common.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ rsyslog::config::actions:
307307
type: "omfile"
308308
facility: "mail.*"
309309
config:
310-
file: "-/var/log/maillog"
310+
file: "/var/log/maillog"
311311
cron:
312312
type: "omfile"
313313
facility: "cron.*"

spec/support/spec/rsyslog.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
type: 'omfile',
4040
facility: 'mail.*',
4141
config: {
42-
'file' => '-/var/log/maillog',
42+
'file' => '/var/log/maillog',
4343
},
4444
)
4545
end

0 commit comments

Comments
 (0)