Annotation of embedaddon/strongswan/testing/hosts/default/etc/rsyslog.conf, revision 1.1.1.1
1.1 misho 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:
7: #################
8: #### MODULES ####
9: #################
10:
11: $ModLoad imuxsock # provides support for local system logging
12: $ModLoad imklog # provides kernel logging support
13: #$ModLoad immark # provides --MARK-- message capability
14:
15: # Don't drop messages
16: $SystemLogRateLimitInterval 0
17: $RepeatedMsgReduction off
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: #
39: # Set the default permissions for all log files.
40: #
41: $FileOwner root
42: $FileGroup adm
43: $FileCreateMode 0640
44: $DirCreateMode 0755
45: $Umask 0022
46:
47: #
48: # Where to place spool and state files
49: #
50: $WorkDirectory /var/spool/rsyslog
51:
52: #
53: # Include all config files in /etc/rsyslog.d/
54: #
55: $IncludeConfig /etc/rsyslog.d/*.conf
56:
57:
58: ###############
59: #### RULES ####
60: ###############
61:
62: #
63: # First some standard log files. Log by facility.
64: #
65: auth,authpriv.* /var/log/auth.log
66: *.*;auth,authpriv.none -/var/log/syslog
67: #cron.* /var/log/cron.log
68: daemon.* /var/log/daemon.log
69: kern.* -/var/log/kern.log
70: lpr.* -/var/log/lpr.log
71: mail.* -/var/log/mail.log
72: user.* -/var/log/user.log
73:
74: #
75: # Logging for the mail system. Split it up so that
76: # it is easy to write scripts to parse these files.
77: #
78: mail.info -/var/log/mail.info
79: mail.warn -/var/log/mail.warn
80: mail.err /var/log/mail.err
81:
82: #
83: # Logging for INN news system.
84: #
85: news.crit /var/log/news/news.crit
86: news.err /var/log/news/news.err
87: news.notice -/var/log/news/news.notice
88:
89: #
90: # Some "catch-all" log files.
91: #
92: *.=debug;\
93: auth,authpriv.none;\
94: news.none;mail.none -/var/log/debug
95: *.=info;*.=notice;*.=warn;\
96: auth,authpriv.none;\
97: cron,daemon.none;\
98: mail,news.none -/var/log/messages
99:
100: #
101: # Emergencies are sent to everybody logged in.
102: #
103: *.emerg :omusrmsg:*
104:
105: #
106: # I like to have messages displayed on the console, but only on a virtual
107: # console I usually leave idle.
108: #
109: #daemon,mail.*;\
110: # news.=crit;news.=err;news.=notice;\
111: # *.=debug;*.=info;\
112: # *.=notice;*.=warn /dev/tty8
113:
114: # The named pipe /dev/xconsole is for the `xconsole' utility. To use it,
115: # you must invoke `xconsole' with the `-file' option:
116: #
117: # $ xconsole -file /dev/xconsole [...]
118: #
119: # NOTE: adjust the list below, or you'll go crazy if you have a reasonably
120: # busy site..
121: #
122: daemon.*;mail.*;\
123: news.err;\
124: *.=debug;*.=info;\
125: *.=notice;*.=warn |/dev/xconsole
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>