summaryrefslogtreecommitdiff
path: root/modules/rsyslogd.conf
blob: b9da51513e8214dca7ecc63a4a83f47973af24ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# This more-or-less copies Debian's syslog configuration

module(load="imklog")  # provides kernel logging support

# Set the default permissions for all log files.
$FileOwner root
$FileGroup adm
$FileCreateMode 0640
$DirCreateMode 0755
$Umask 0022

# Log anything besides private authentication messages to a single log file
*.*;auth,authpriv.none		-/var/log/syslog

# Log commonly used facilities to their own log file
auth,authpriv.*			/var/log/auth.log
cron.*				-/var/log/cron.log
kern.*				-/var/log/kern.log
mail.*				-/var/log/mail.log
user.*				-/var/log/user.log

# Emergencies are sent to everybody logged in.
*.emerg				:omusrmsg:*