summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syslogd/syslogd.8
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-11-27 20:02:18 +0000
committerdd <dd@FreeBSD.org>2001-11-27 20:02:18 +0000
commitfc1c953f036a4566fcea0706db2bf97591882bd6 (patch)
tree23fe158df6d75855e87dd1653c716ce2a22c26d6 /usr.sbin/syslogd/syslogd.8
parentaeec5e42651c55da02aacf7c8dcf8fbf07a7a922 (diff)
downloadFreeBSD-src-fc1c953f036a4566fcea0706db2bf97591882bd6.zip
FreeBSD-src-fc1c953f036a4566fcea0706db2bf97591882bd6.tar.gz
Make the default kernel prefix "kernel:" instead of the boot file,
with the old behavior available via the -o option (it might still be useful if one has many kernels and cares which messages came from which). If the boot file is not used as the prefix, it is still logged once at startup. This change is prompted by the fact that the boot file is now much longer ("/boot/kernel/kernel" vs. "/kernel"), which significanlty bloats the syslogd output. Reviewed by: peter
Diffstat (limited to 'usr.sbin/syslogd/syslogd.8')
-rw-r--r--usr.sbin/syslogd/syslogd.89
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.sbin/syslogd/syslogd.8 b/usr.sbin/syslogd/syslogd.8
index 641bb4a..85fb00e 100644
--- a/usr.sbin/syslogd/syslogd.8
+++ b/usr.sbin/syslogd/syslogd.8
@@ -32,7 +32,7 @@
.\" @(#)syslogd.8 8.1 (Berkeley) 6/6/93
.\" $FreeBSD$
.\"
-.Dd October 12, 1995
+.Dd November 24, 2001
.Dt SYSLOGD 8
.Os
.Sh NAME
@@ -40,7 +40,7 @@
.Nd log systems messages
.Sh SYNOPSIS
.Nm
-.Op Fl 46Adknsuv
+.Op Fl 46Adknosuv
.Op Fl a Ar allowed_peer
.Op Fl b Ar bind_address
.Op Fl f Ar config_file
@@ -181,6 +181,11 @@ Select the number of minutes between
messages; the default is 20 minutes.
.It Fl n
Disable dns query for every request.
+.It Fl o
+Prefix kernel messages with the full kernel boot file as determined by
+.Xr getbootfile 3 .
+Without this, the kernel message prefix is always
+.Dq kernel: .
.It Fl p
Specify the pathname of an alternate log socket to be used instead;
the default is
OpenPOWER on IntegriCloud