Print this page
4211 Some syslog facility names and symbols are missing
3232 syslogd shouldn't sync after each LOG_KERN line
1762 Syslogd man page: missing reference.
   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:


  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 


 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 "Oct 17, 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:


  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. Recognized values for \fIfacility\fR include:
  49 .sp
  50 .ne 2
  51 .na
  52 \fB\fBkern\fR\fR
  53 .ad
  54 .RS 12n
  55 Messages generated by the kernel.

  56 .RE
  57 
  58 .sp
  59 .ne 2
  60 .na
  61 \fB\fBuser\fR\fR
  62 .ad
  63 .RS 12n
  64 Messages generated by user processes. This is the default priority for messages
  65 from programs or facilities not listed in this file.
  66 .RE
  67 
  68 .sp
  69 .ne 2
  70 .na
  71 \fB\fBmail\fR\fR
  72 .ad
  73 .RS 12n
  74 The mail system.
  75 .RE
  76 
  77 .sp
  78 .ne 2
  79 .na
  80 \fB\fBdaemon\fR\fR
  81 .ad
  82 .RS 12n
  83 System daemons, such as \fBin.ftpd\fR(1M)
  84 .RE
  85 


 107 .na
 108 \fB\fBnews\fR\fR
 109 .ad
 110 .RS 12n
 111 Designated for the USENET network news system.
 112 .RE
 113 
 114 .sp
 115 .ne 2
 116 .na
 117 \fB\fBuucp\fR\fR
 118 .ad
 119 .RS 12n
 120 Designated for the UUCP system; it does not currently use the \fBsyslog\fR
 121 mechanism.
 122 .RE
 123 
 124 .sp
 125 .ne 2
 126 .na
 127 \fB\fBbsdcron\fR\fR
 128 .ad
 129 .RS 12n
 130 Designated for the BSD cron/at system.


 131 .RE
 132 
 133 .sp
 134 .ne 2
 135 .na
 136 \fB\fBauthpriv\fR\fR
 137 .ad
 138 .RS 12n
 139 Designated for the BSD security/authorization system.
 140 .RE
 141 
 142 .sp
 143 .ne 2
 144 .na
 145 \fB\fBftp\fR\fR
 146 .ad
 147 .RS 12n
 148 Designated for the file transfer system.
 149 .RE
 150 
 151 .sp
 152 .ne 2
 153 .na
 154 \fB\fBntp\fR\fR
 155 .ad
 156 .RS 12n
 157 Designated for the network time system.
 158 .RE
 159 
 160 .sp
 161 .ne 2
 162 .na
 163 \fB\fBaudit\fR\fR
 164 .ad
 165 .RS 12n
 166 Designated for audit messages generated by systems that audit by means of
 167 syslog.
 168 .RE
 169 
 170 .sp
 171 .ne 2
 172 .na
 173 \fB\fBconsole\fR\fR
 174 .ad
 175 .RS 12n
 176 Designated for the BSD console system.
 177 .RE
 178 
 179 .sp
 180 .ne 2
 181 .na
 182 \fB\fBcron\fR\fR
 183 .ad
 184 .RS 12n
 185 Designated for \fBcron\fR/\fBat\fR messages generated by systems that do
 186 logging through \fBsyslog\fR. The current version of the Solaris Operating
 187 Environment does not use this facility for logging.
 188 .RE
 189 
 190 .sp
 191 .ne 2
 192 .na
 193 \fB\fBlocal0-7\fR\fR
 194 .ad
 195 .RS 12n
 196 Designated for local use.
 197 .RE
 198 
 199 .sp
 200 .ne 2
 201 .na
 202 \fB\fBmark\fR\fR
 203 .ad
 204 .RS 12n
 205 For timestamp messages produced internally by \fBsyslogd\fR.
 206 .RE
 207 
 208 .sp
 209 .ne 2