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:
26 .sp
27 .in +2
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
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
388 \fB*.alert\fR \fBroot,operator\fR
389 \fB*.alert;auth.warning\fR \fB/var/log/auth\fR
390 .TE
391
392 .sp
393 .LP
394 \fBsyslogd\fR(1M) logs all mail system messages except \fBdebug\fR messages and
395 all \fBnotice\fR (or higher) messages into a file named \fB/var/log/notice\fR.
396 It logs all critical messages into \fB/var/log/critical\fR, and all kernel
397 messages and 20-minute marks onto the system console.
398
399 .sp
400 .LP
401 Kernel messages of \fBerr\fR (error) severity or higher are forwarded to the
402 machine named \fBserver\fR. Emergency messages are forwarded to all users. The
403 users \fBroot\fR and \fBoperator\fR are informed of any \fBalert\fR messages.
404 All messages from the authorization system of \fBwarning\fR level or higher are
405 logged in the file \fB/var/log/auth\fR.
406
407 .SH ATTRIBUTES
408 .sp
409 .LP
410 See \fBattributes\fR(5) for descriptions of the following attributes:
411 .sp
412
413 .sp
414 .TS
415 box;
416 c | c
417 l | l .
418 ATTRIBUTE TYPE ATTRIBUTE VALUE
419 _
420 Interface Stability Stable
421 .TE
422
423 .SH SEE ALSO
424 .sp
425 .LP
426 \fBat\fR(1), \fBcrontab\fR(1), \fBlogger\fR(1), \fBlogin\fR(1), \fBlp\fR(1),
427 \fBlpc\fR(1B), \fBlpr\fR(1B), \fBm4\fR(1), \fBcron\fR(1M), \fBgetty\fR(1M),
428 \fBin.ftpd\fR(1M), \fBsu\fR(1M), \fBsyslogd\fR(1M), \fBsyslog\fR(3C),
429 \fBhosts\fR(4), \fBattributes\fR(5)
|
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 .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:
25 .sp
26 .in +2
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
133 .RS 12n
134 Designated for the BSD cron/at system.
135 .RE
136
137 .sp
138 .ne 2
139 .na
140 \fB\fBauthpriv\fR\fR
141 .ad
142 .RS 12n
143 Designated for the BSD security/authorization system.
144 .RE
145
146 .sp
147 .ne 2
148 .na
149 \fB\fBftp\fR\fR
150 .ad
151 .RS 12n
152 Designated for the file transfer system.
153 .RE
154
155 .sp
156 .ne 2
157 .na
158 \fB\fBntp\fR\fR
159 .ad
160 .RS 12n
161 Designated for the network time system.
162 .RE
163
164 .sp
165 .ne 2
166 .na
167 \fB\fBaudit\fR\fR
168 .ad
169 .RS 12n
170 Designated for audit messages generated by systems that audit by means of
171 syslog.
172 .RE
385 \fB*.alert\fR \fBroot,operator\fR
386 \fB*.alert;auth.warning\fR \fB/var/log/auth\fR
387 .TE
388
389 .sp
390 .LP
391 \fBsyslogd\fR(1M) logs all mail system messages except \fBdebug\fR messages and
392 all \fBnotice\fR (or higher) messages into a file named \fB/var/log/notice\fR.
393 It logs all critical messages into \fB/var/log/critical\fR, and all kernel
394 messages and 20-minute marks onto the system console.
395
396 .sp
397 .LP
398 Kernel messages of \fBerr\fR (error) severity or higher are forwarded to the
399 machine named \fBserver\fR. Emergency messages are forwarded to all users. The
400 users \fBroot\fR and \fBoperator\fR are informed of any \fBalert\fR messages.
401 All messages from the authorization system of \fBwarning\fR level or higher are
402 logged in the file \fB/var/log/auth\fR.
403
404 .SH ATTRIBUTES
405 .LP
406 See \fBattributes\fR(5) for descriptions of the following attributes:
407 .sp
408
409 .sp
410 .TS
411 box;
412 c | c
413 l | l .
414 ATTRIBUTE TYPE ATTRIBUTE VALUE
415 _
416 Interface Stability Stable
417 .TE
418
419 .SH SEE ALSO
420 .LP
421 \fBat\fR(1), \fBcrontab\fR(1), \fBlogger\fR(1), \fBlogin\fR(1), \fBlp\fR(1),
422 \fBlpc\fR(1B), \fBlpr\fR(1B), \fBm4\fR(1), \fBcron\fR(1M), \fBgetty\fR(1M),
423 \fBin.ftpd\fR(1M), \fBsu\fR(1M), \fBsyslogd\fR(1M), \fBsyslog\fR(3C),
424 \fBhosts\fR(4), \fBattributes\fR(5)
|