syslogd: Add FreeBSD -k option to allow LOG_KERNEL facility messages

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2019-11-13 16:44:51 +01:00
parent c465f340bc
commit 9d415f313f
4 changed files with 22 additions and 8 deletions

View File

@@ -13,7 +13,7 @@
.Nd System Log Daemon
.Sh SYNOPSIS
.Nm
.Op Fl ?46AdnsTv
.Op Fl ?46AdknsTv
.Op Fl a Ar addr[/len][:port]
.Op Fl a Ar name[:port]
.Op Fl b Ar addr[:port]
@@ -185,6 +185,19 @@ consecutively. The
message is only written if the log file hasn't been touched in
.Ar (seconds * 60) / 2
minutes.
.It Fl k
Disable the translation of messages received with facility
.Ql kern
to
facility
.Ql user .
Usually the
.Ql kern
facility is reserved for kernel log messages. When the
.Nm klogd
daemon runs alongside
.Nm ,
this option is always set.
.It Fl n
Run in foreground, required when run from a modern init/supervisor. See
your system