NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/53333: logger -c doesn't log to console device
The following reply was made to PR kern/53333; it has been noted by GNATS.
From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/53333: logger -c doesn't log to console device
Date: Thu, 31 May 2018 02:00:29 +0300
On Wed, May 30, 2018 at 22:00:00 +0000, paul%whooppee.com@localhost wrote:
> logger -c test
>
> and observe that the test message appears in /var/log/messages
> but does not appear on the console device (neither in "green"
> nor "white" font).
logger -c sets LOG_CONS. But LOG_CONS doesn't mean "log to console",
as logger(1) mistakenly claims, it's "fallback to console"
LOG_CONS If syslog() cannot pass the message to syslogd(8) it will
attempt to write the message to the console
("/dev/console").
-uwe
Home |
Main Index |
Thread Index |
Old Index