Upgrade rsyslog conf to last Debian Stretch version.
This commit is contained in:
parent
019e4b32db
commit
3300def39a
|
@ -9,33 +9,27 @@
|
||||||
#### MODULES ####
|
#### MODULES ####
|
||||||
#################
|
#################
|
||||||
|
|
||||||
$ModLoad imuxsock # provides support for local system logging
|
module(load="imuxsock") # provides support for local system logging
|
||||||
$ModLoad imklog # provides kernel logging support
|
module(load="imklog") # provides kernel logging support
|
||||||
#$ModLoad immark # provides --MARK-- message capability
|
#module(load="immark") # provides --MARK-- message capability
|
||||||
|
|
||||||
$KLogPath /proc/kmsg
|
|
||||||
|
|
||||||
# provides UDP syslog reception
|
# provides UDP syslog reception
|
||||||
#$ModLoad imudp
|
#module(load="imudp")
|
||||||
#$UDPServerRun 514
|
#input(type="imudp" port="514")
|
||||||
|
|
||||||
# provides TCP syslog reception
|
# provides TCP syslog reception
|
||||||
#$ModLoad imtcp
|
#module(load="imtcp")
|
||||||
#$InputTCPServerRun 514
|
#input(type="imtcp" port="514")
|
||||||
|
|
||||||
###########################
|
###########################
|
||||||
#### GLOBAL DIRECTIVES ####
|
#### GLOBAL DIRECTIVES ####
|
||||||
###########################
|
###########################
|
||||||
|
|
||||||
#
|
#
|
||||||
# Use traditional timestamp format.
|
# Use traditional timestamp format.
|
||||||
# To enable high precision timestamps, comment out the following line.
|
# To enable high precision timestamps, comment out the following line.
|
||||||
#
|
#
|
||||||
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
|
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
|
||||||
|
|
||||||
# Filter duplicated messages
|
|
||||||
$RepeatedMsgReduction on
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Set the default permissions for all log files.
|
# Set the default permissions for all log files.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue