Upgrade rsyslog conf to last Debian Stretch version.

This commit is contained in:
Jeremy Gardais 2017-09-05 17:06:15 +02:00
parent 019e4b32db
commit 3300def39a
1 changed files with 7 additions and 13 deletions

View File

@ -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.
# #