Module Name: src
Committed By: jruoho
Date: Thu Jun 25 15:21:57 UTC 2020
Modified Files:
src/usr.bin/logger: logger.1
Log Message:
Fix PR kern/53333.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/logger/logger.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/logger/logger.1
diff -u src/usr.bin/logger/logger.1:1.15 src/usr.bin/logger/logger.1:1.16
--- src/usr.bin/logger/logger.1:1.15 Sun May 13 17:08:31 2012
+++ src/usr.bin/logger/logger.1 Thu Jun 25 15:21:56 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: logger.1,v 1.15 2012/05/13 17:08:31 njoly Exp $
+.\" $NetBSD: logger.1,v 1.16 2020/06/25 15:21:56 jruoho Exp $
.\"
.\" Copyright (c) 1983, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)logger.1 8.1 (Berkeley) 6/6/93
.\"
-.Dd April 26, 2012
+.Dd June 25, 2020
.Dt LOGGER 1
.Os
.Sh NAME
@@ -54,8 +54,12 @@ Options:
.Pp
.Bl -tag -width "messageXX"
.It Fl c
-Log to console
-.Dv ( LOG_CONS ) .
+Log to console as a fallback
+.Dv ( LOG_CONS ) :
+if the message cannot be passed to
+.Xr syslogd 8 ,
+the message is written to
+.Pa /dev/console .
.It Fl d Ar sd
Log this in the structured data (SD) field.
.Po