2020-07-10 00:58:55 +02:00
|
|
|
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
|
|
|
|
|
|
|
module(load="imuxsock")
|
|
|
|
module(load="imklog" permitnonkernelfacility="on")
|
|
|
|
|
|
|
|
$ModLoad imudp.so
|
|
|
|
|
|
|
|
$ActionFileDefaultTemplate RSYSLOG_SyslogProtocol23Format
|
|
|
|
$RepeatedMsgReduction on
|
|
|
|
$FileOwner root
|
|
|
|
$FileGroup adm
|
|
|
|
$FileCreateMode 0640
|
|
|
|
$DirCreateMode 0755
|
|
|
|
$UDPServerRun 514
|
|
|
|
$Umask 0022
|
|
|
|
|
|
|
|
$WorkDirectory /var/spool/rsyslog
|
|
|
|
|
|
|
|
$IncludeConfig /etc/rsyslog.d/*.conf
|
|
|
|
|
|
|
|
auth,authpriv.* /var/log/auth.log
|
|
|
|
*.*;auth,authpriv.none -/var/log/syslog
|
2020-07-30 14:10:22 +02:00
|
|
|
cron.* /var/log/cron.log
|
2020-07-10 00:58:55 +02:00
|
|
|
daemon.* -/var/log/daemon.log
|
|
|
|
kern.* -/var/log/kern.log
|
|
|
|
lpr.* -/var/log/lpr.log
|
|
|
|
mail.* -/var/log/mail.log
|
|
|
|
user.* -/var/log/user.log
|
|
|
|
|
|
|
|
mail.info -/var/log/mail.info
|
|
|
|
mail.warn -/var/log/mail.warn
|
|
|
|
mail.err /var/log/mail.err
|
|
|
|
|
|
|
|
*.=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
|
|
|
|
|
|
|
|
*.emerg :omusrmsg:*
|
|
|
|
|
2023-03-11 10:08:26 +01:00
|
|
|
*.* @localhost:6514;RSYSLOG_SyslogProtocol23Format
|