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:
27
SNAP/syslog.conf
Normal file
27
SNAP/syslog.conf
Normal 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
|
||||
Reference in New Issue
Block a user