30 lines
616 B
Plaintext
30 lines
616 B
Plaintext
$WorkDirectory /var/lib/rsyslog
|
|
$FileOwner root
|
|
$FileGroup adm
|
|
$FileCreateMode 0640
|
|
$DirCreateMode 0755
|
|
$Umask 0022
|
|
$AbortOnUncleanConfig on
|
|
|
|
#### Modules ####
|
|
# Provides --MARK-- message capability.
|
|
module(load="immark")
|
|
# Provides support for local system logging (e.g. via logger command).
|
|
module(load="imuxsock")
|
|
# Reads kernel messages.
|
|
module(load="imklog")
|
|
# Accepts messages via udp.
|
|
module(load="imudp")
|
|
input(type="imudp" port="514")
|
|
|
|
#### Rules ####
|
|
|
|
# Base
|
|
|
|
*.* /var/log/messages
|
|
kern.* /var/log/kern.log
|
|
*.emerg :omusrmsg:*
|
|
|
|
# Includes
|
|
include(file="/etc/redxen/rsyslog/modules/*" mode="optional")
|