View | Details | Raw Unified | Return to bug 20477
Collapse All | Expand All

(-)syslog.conf.5 (+18 lines)
Lines 224-229 Link Here
224
disables a particular
224
disables a particular
225
.Em facility .
225
.Em facility .
226
.Pp
226
.Pp
227
If a syslog message is received for the facility 
228
.Em kern ,
229
but is not received directly from the kernel via the
230
.Pa /dev/klog
231
device, then 
232
.Xr syslogd
233
silently translates the facility to 
234
.Em user .
235
In particular, this means that when sending kernel logging messages to 
236
a remote loghost, they will be processed as facility 
237
.Em user
238
on the remote system.
239
This also means it is not possible to inject 
240
.Em kern
241
messages using the
242
.Xr logger 1
243
or similar program.
244
.Pp
227
The
245
The
228
.Em action
246
.Em action
229
field of each line specifies the action to be taken when the
247
field of each line specifies the action to be taken when the
(-)syslogd.8 (+8 lines)
Lines 184-189 Link Here
184
This priority code should map into the priorities defined in the
184
This priority code should map into the priorities defined in the
185
include file
185
include file
186
.Aq Pa sys/syslog.h .
186
.Aq Pa sys/syslog.h .
187
If the priority code maps to the facility
188
.Em kern ,
189
but the message is not received via the
190
.Pa /dev/klog
191
device, then 
192
.Nm
193
silently changes the facility code to 
194
.Em user .
187
.Sh FILES
195
.Sh FILES
188
.Bl -tag -width /var/run/syslog.pid -compact
196
.Bl -tag -width /var/run/syslog.pid -compact
189
.It Pa /etc/syslog.conf
197
.It Pa /etc/syslog.conf

Return to bug 20477