The following changes were made:

* Added defaults file in usr/share/sysklogd (managed by usher)
  * Added init script
  * Added syslog.conf (managed by usher)
This commit is contained in:
2017-05-05 17:17:45 -05:00
parent 03f3a2cc29
commit 3a84f67f3d
5 changed files with 106 additions and 12 deletions

27
SNAP/syslog.conf Normal file
View File

@@ -0,0 +1,27 @@
# Configuration for sysklogd
# Standard log files
auth,authpriv.* /var/log/auth.log
*.*;auth,authpriv.none -/var/log/syslog
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 configuration
mail.info -/var/log/mail.info
mail.warn -/var/log/mail.warn
mail.err -/var/log/mail.err
# Catch all logs
*.=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
# Logging of emergency messages
*.emerg -/var/log/kern.log