PageRenderTime 83ms CodeModel.GetById 81ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 1ms

/rsyslog.conf

http://github.com/brinkman83/bashrc
Config | 56 lines | 43 code | 13 blank | 0 comment | 0 complexity | 122167e70d842179ebf06ca8d189a964 MD5 | raw file
 1#  /etc/rsyslog.conf	Configuration file for rsyslog.
 2#
 3#			For more information see
 4#			/usr/share/doc/rsyslog-doc/html/rsyslog_conf.html
 5#
 6#  Default logging rules can be found in /etc/rsyslog.d/50-default.conf
 7
 8
 9#################
10#### MODULES ####
11#################
12
13$ModLoad imuxsock # provides support for local system logging
14$ModLoad imklog   # provides kernel logging support (previously done by rklogd)
15#$ModLoad immark  # provides --MARK-- message capability
16
17$KLogPath /proc/kmsg
18
19# provides UDP syslog reception
20#$ModLoad imudp
21#$UDPServerRun 514
22
23# provides TCP syslog reception
24#$ModLoad imtcp
25#$InputTCPServerRun 514
26
27
28###########################
29#### GLOBAL DIRECTIVES ####
30###########################
31
32#
33# Use traditional timestamp format.
34# To enable high precision timestamps, comment out the following line.
35#
36$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
37
38# Filter duplicated messages
39$RepeatedMsgReduction on
40
41#
42# Set the default permissions for all log files.
43#
44$FileOwner syslog
45$FileGroup adm
46$FileCreateMode 0640
47$DirCreateMode 0755
48$Umask 0022
49$PrivDropToUser syslog
50$PrivDropToGroup syslog
51
52#
53# Include all config files in /etc/rsyslog.d/
54#
55$IncludeConfig /etc/rsyslog.d/*.conf
56