Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/logger Fix PR kern/53333.



details:   https://anonhg.NetBSD.org/src/rev/51ffcbdea510
branches:  trunk
changeset: 935135:51ffcbdea510
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Thu Jun 25 15:21:56 2020 +0000

description:
Fix PR kern/53333.

diffstat:

 usr.bin/logger/logger.1 |  12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 102ce4deb173 -r 51ffcbdea510 usr.bin/logger/logger.1
--- a/usr.bin/logger/logger.1   Thu Jun 25 15:01:35 2020 +0000
+++ b/usr.bin/logger/logger.1   Thu Jun 25 15:21:56 2020 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index