1 '\" te
2 .\" Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved.
3 .\" Copyright (c) 1983 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution.
4 .TH SYSLOG.CONF 4 "Apr 26, 2006"
5 .SH NAME
6 syslog.conf \- configuration file for syslogd system log daemon
7 .SH SYNOPSIS
8 .LP
9 .nf
10 \fB/etc/syslog.conf\fR
11 .fi
12
13 .SH DESCRIPTION
14 .sp
15 .LP
16 The file \fB/etc/syslog.conf\fR contains information used by the system log
17 daemon, \fBsyslogd\fR(1M), to forward a system message to appropriate log files
18 and/or users. \fBsyslogd\fR preprocesses this file through \fBm4\fR(1) to
19 obtain the correct information for certain log files, defining \fBLOGHOST\fR if
20 the address of "loghost" is the same as one of the addresses of the host that
21 is running \fBsyslogd\fR.
22 .sp
23 .LP
24 A configuration entry is composed of two TAB-separated fields:
27 .nf
28 \fIselector action\fR
29 .fi
30 .in -2
31
32 .sp
33 .LP
34 The \fIselector\fR field contains a semicolon-separated list of priority
35 specifications of the form:
36 .sp
37 .in +2
38 .nf
39 \fIfacility\fR\fB\&.\fR\fIlevel\fR [ \fB;\fR \fIfacility\fR\fB\&.\fR\fIlevel\fR ]
40 .fi
41 .in -2
42
43 .sp
44 .LP
45 where \fIfacility\fR is a system facility, or comma-separated list of
46 facilities, and \fIlevel\fR is an indication of the severity of the condition
47 being logged. Recognized values for \fIfacility\fR include:
48 .sp
49 .ne 2
50 .na
51 \fB\fBuser\fR\fR
52 .ad
53 .RS 12n
54 Messages generated by user processes. This is the default priority for messages
55 from programs or facilities not listed in this file.
56 .RE
57
58 .sp
59 .ne 2
60 .na
61 \fB\fBkern\fR\fR
62 .ad
63 .RS 12n
64 Messages generated by the kernel.
65 .RE
66
67 .sp
68 .ne 2
69 .na
70 \fB\fBmail\fR\fR
71 .ad
72 .RS 12n
73 The mail system.
74 .RE
75
76 .sp
77 .ne 2
78 .na
79 \fB\fBdaemon\fR\fR
80 .ad
81 .RS 12n
82 System daemons, such as \fBin.ftpd\fR(1M)
83 .RE
84
85 .sp
86 .ne 2
87 .na
88 \fB\fBauth\fR\fR
89 .ad
90 .RS 12n
91 The authorization system: \fBlogin\fR(1), \fBsu\fR(1M), \fBgetty\fR(1M), among
92 others.
93 .RE
94
95 .sp
96 .ne 2
97 .na
98 \fB\fBlpr\fR\fR
99 .ad
100 .RS 12n
101 The line printer spooling system: \fBlpr\fR(1B), \fBlpc\fR(1B), among others.
102 .RE
106 .na
107 \fB\fBnews\fR\fR
108 .ad
109 .RS 12n
110 Designated for the USENET network news system.
111 .RE
112
113 .sp
114 .ne 2
115 .na
116 \fB\fBuucp\fR\fR
117 .ad
118 .RS 12n
119 Designated for the UUCP system; it does not currently use the \fBsyslog\fR
120 mechanism.
121 .RE
122
123 .sp
124 .ne 2
125 .na
126 \fB\fBcron\fR\fR
127 .ad
128 .RS 12n
129 Designated for \fBcron\fR/\fBat\fR messages generated by systems that do
130 logging through \fBsyslog\fR. The current version of the Solaris Operating
131 Environment does not use this facility for logging.
132 .RE
133
134 .sp
135 .ne 2
136 .na
137 \fB\fBaudit\fR\fR
138 .ad
139 .RS 12n
140 Designated for audit messages generated by systems that audit by means of
141 syslog.
142 .RE
143
144 .sp
145 .ne 2
146 .na
147 \fB\fBlocal0-7\fR\fR
148 .ad
149 .RS 12n
150 Designated for local use.
151 .RE
152
153 .sp
154 .ne 2
155 .na
156 \fB\fBmark\fR\fR
157 .ad
158 .RS 12n
159 For timestamp messages produced internally by \fBsyslogd\fR.
160 .RE
161
162 .sp
163 .ne 2
|
1 '\" te
2 .\" Copyright (c) 2013 Gary Mills
3 .\" Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved.
4 .\" Copyright (c) 1983 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution.
5 .TH SYSLOG.CONF 4 "Nov 19, 2013"
6 .SH NAME
7 syslog.conf \- configuration file for syslogd system log daemon
8 .SH SYNOPSIS
9 .LP
10 .nf
11 \fB/etc/syslog.conf\fR
12 .fi
13
14 .SH DESCRIPTION
15 .sp
16 .LP
17 The file \fB/etc/syslog.conf\fR contains information used by the system log
18 daemon, \fBsyslogd\fR(1M), to forward a system message to appropriate log files
19 and/or users. \fBsyslogd\fR preprocesses this file through \fBm4\fR(1) to
20 obtain the correct information for certain log files, defining \fBLOGHOST\fR if
21 the address of "loghost" is the same as one of the addresses of the host that
22 is running \fBsyslogd\fR.
23 .sp
24 .LP
25 A configuration entry is composed of two TAB-separated fields:
28 .nf
29 \fIselector action\fR
30 .fi
31 .in -2
32
33 .sp
34 .LP
35 The \fIselector\fR field contains a semicolon-separated list of priority
36 specifications of the form:
37 .sp
38 .in +2
39 .nf
40 \fIfacility\fR\fB\&.\fR\fIlevel\fR [ \fB;\fR \fIfacility\fR\fB\&.\fR\fIlevel\fR ]
41 .fi
42 .in -2
43
44 .sp
45 .LP
46 where \fIfacility\fR is a system facility, or comma-separated list of
47 facilities, and \fIlevel\fR is an indication of the severity of the condition
48 being logged.
49 The presence of a facility name only implies that it is available.
50 Each individual service determines which facility it will use for logging.
51 In particular, many facilities are only useful for \fBsyslog\fR messages
52 that are forwarded from other operating systems.
53 Recognized values for \fIfacility\fR include:
54 .sp
55 .ne 2
56 .na
57 \fB\fBkern\fR\fR
58 .ad
59 .RS 12n
60 Messages generated by the kernel.
61 .RE
62
63 .sp
64 .ne 2
65 .na
66 \fB\fBuser\fR\fR
67 .ad
68 .RS 12n
69 Messages generated by user processes. This is the default priority for messages
70 from programs or facilities not listed in this file.
71 .RE
72
73 .sp
74 .ne 2
75 .na
76 \fB\fBmail\fR\fR
77 .ad
78 .RS 12n
79 The mail system.
80 .RE
81
82 .sp
83 .ne 2
84 .na
85 \fB\fBdaemon\fR\fR
86 .ad
87 .RS 12n
88 Various system daemons.
89 .RE
90
91 .sp
92 .ne 2
93 .na
94 \fB\fBauth\fR\fR
95 .ad
96 .RS 12n
97 The authorization system: \fBlogin\fR(1), \fBsu\fR(1M), \fBgetty\fR(1M), among
98 others.
99 .RE
100
101 .sp
102 .ne 2
103 .na
104 \fB\fBlpr\fR\fR
105 .ad
106 .RS 12n
107 The line printer spooling system: \fBlpr\fR(1B), \fBlpc\fR(1B), among others.
108 .RE
112 .na
113 \fB\fBnews\fR\fR
114 .ad
115 .RS 12n
116 Designated for the USENET network news system.
117 .RE
118
119 .sp
120 .ne 2
121 .na
122 \fB\fBuucp\fR\fR
123 .ad
124 .RS 12n
125 Designated for the UUCP system; it does not currently use the \fBsyslog\fR
126 mechanism.
127 .RE
128
129 .sp
130 .ne 2
131 .na
132 \fB\fBaltcron\fR\fR
133 .ad
134 .RS 12n
135 Designated for the BSD cron/at system.
136 .RE
137
138 .sp
139 .ne 2
140 .na
141 \fB\fBauthpriv\fR\fR
142 .ad
143 .RS 12n
144 Designated for the BSD security/authorization system.
145 .RE
146
147 .sp
148 .ne 2
149 .na
150 \fB\fBftp\fR\fR
151 .ad
152 .RS 12n
153 Designated for the file transfer system.
154 The current version of \fBin.ftpd\fR(1M) does not use this facility
155 for logging.
156 .RE
157
158 .sp
159 .ne 2
160 .na
161 \fB\fBntp\fR\fR
162 .ad
163 .RS 12n
164 Designated for the network time system.
165 .RE
166
167 .sp
168 .ne 2
169 .na
170 \fB\fBaudit\fR\fR
171 .ad
172 .RS 12n
173 Designated for audit messages generated by systems that audit by means of
174 syslog.
175 .RE
176
177 .sp
178 .ne 2
179 .na
180 \fB\fBconsole\fR\fR
181 .ad
182 .RS 12n
183 Designated for the BSD console system.
184 .RE
185
186 .sp
187 .ne 2
188 .na
189 \fB\fBcron\fR\fR
190 .ad
191 .RS 12n
192 Designated for \fBcron\fR/\fBat\fR messages generated by systems that do
193 logging through \fBsyslog\fR.
194 The current versions of \fBcron\fR and \fBat\fR do not use this facility
195 for logging.
196 .RE
197
198 .sp
199 .ne 2
200 .na
201 \fB\fBlocal0-7\fR\fR
202 .ad
203 .RS 12n
204 Designated for local use.
205 .RE
206
207 .sp
208 .ne 2
209 .na
210 \fB\fBmark\fR\fR
211 .ad
212 .RS 12n
213 For timestamp messages produced internally by \fBsyslogd\fR.
214 .RE
215
216 .sp
217 .ne 2
|