aports/config/rsyslog/rsyslogd.conf

30 lines
616 B
Plaintext
Raw Normal View History

2021-06-25 18:25:42 +00:00
$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")