NetBSD-Bugs archive

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

Re: bin/59455: Syslog silently discards log messaages if /var/log/messages is missing



The following reply was made to PR bin/59455; it has been noted by GNATS.

From: Christoph Badura <bad%bsd.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/59455: Syslog silently discards log messaages if
 /var/log/messages is missing
Date: Wed, 4 Jun 2025 10:08:33 +0200

 On Tue, Jun 03, 2025 at 02:33:55PM -0400, Christos Zoulas wrote:
 > Perhaps log with LOG_CONS or LOG_PERROR, each file open failure?
 
 I wouldn't want the console to be spammed for every attempt to open the
 missing files.  Wouldn't that happen for every message that is supposed be
 written to said file?
 
 Likewise: where does syslogd's stderr point to?
 
 It appears to me that syslogd(8) and syslog.conf(5) do not contain any text
 mentioning that syslogd will not create missing files.  Perhaps we should
 just mention that in syslogd(8).  Maybe at the start of DESCRIPTION even.
 Or in CAVEATS.
 
 --chris
 


Home | Main Index | Thread Index | Old Index