mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
logging
Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
parent
a3f2cb0cab
commit
2f1948031b
|
@ -3,7 +3,7 @@
|
|||
# You may need to set the module load path if modules are not found.
|
||||
|
||||
$ModLoad immark.so # provides --MARK-- message capability
|
||||
#$ModLoad imuxsock.so # provides support for local system logging (e.g. via logger command)
|
||||
$ModLoad imuxsock.so # provides support for local system logging (e.g. via logger command)
|
||||
#$ModLoad imklog.so # kernel logging (formerly provided by rklogd)
|
||||
|
||||
# default permissions for all log files.
|
||||
|
@ -28,25 +28,25 @@ $IncludeConfig /etc/rsyslog.d/*
|
|||
|
||||
# Log anything (except mail) of level info or higher.
|
||||
# Don't log private authentication messages!
|
||||
#*.info;mail.none;authpriv.none;cron.none -/var/log/messages
|
||||
*.info;mail.none;authpriv.none;cron.none -/var/log/messages
|
||||
|
||||
# The authpriv file has restricted access.
|
||||
#authpriv.* /var/log/secure
|
||||
authpriv.* /var/log/secure
|
||||
|
||||
# Log all the mail messages in one place.
|
||||
mail.* -/var/log/mail.log
|
||||
|
||||
# Log cron stuff
|
||||
###cron.* -/var/log/cron
|
||||
cron.* -/var/log/cron
|
||||
|
||||
# Everybody gets emergency messages
|
||||
###*.emerg *
|
||||
#*.emerg *
|
||||
|
||||
# Save news errors of level crit and higher in a special file.
|
||||
###uucp,news.crit -/var/log/spooler
|
||||
uucp,news.crit -/var/log/spooler
|
||||
|
||||
# Save boot messages also to boot.log
|
||||
###local7.* /var/log/boot.log
|
||||
local7.* /var/log/boot.log
|
||||
|
||||
# More configuration examples:
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue
Block a user