Bug 7388 - syslogd: print message to console only if ALL log targets failed
Summary: syslogd: print message to console only if ALL log targets failed
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.22.x
Hardware: PC Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-10 14:04 UTC by Christoph Schulz
Modified: 2014-09-10 14:04 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
print message to console only if ALL log targets failed (2.16 KB, patch)
2014-09-10 14:04 UTC, Christoph Schulz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Schulz 2014-09-10 14:04:38 UTC
Created attachment 5612 [details]
print message to console only if ALL log targets failed

With the patch attached, a syslog message is written to /dev/console only if _all_ log targets have failed. This is especially useful if one log target is a pipe where no reader has attached to yet (see #5558 where the 'pipe' feature is proposed).