mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
# Minimal config
|
|
|
|
$ModLoad imuxsock # provides support for local system logging
|
|
$ModLoad imklog # provides kernel logging support
|
|
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
|
|
$FileOwner root
|
|
$FileGroup root
|
|
$FileCreateMode 0640
|
|
$DirCreateMode 0755
|
|
$Umask 0022
|
|
$WorkDirectory /var/spool/rsyslog
|
|
$IncludeConfig /etc/rsyslog.d/*.conf
|
|
|
|
auth,authpriv.* /var/log/auth.log
|
|
*.*;auth,authpriv.none -/var/log/syslog
|
|
#cron.* /var/log/cron.log
|
|
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
|
|
|
|
news.crit /var/log/news/news.crit
|
|
news.err /var/log/news/news.err
|
|
news.notice -/var/log/news/news.notice
|
|
|
|
*.=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:*
|
|
|
|
daemon.*;mail.*;\
|
|
news.err;\
|
|
*.=debug;*.=info;\
|
|
*.=notice;*.=warn |/dev/xconsole
|