Bug 7388

Summary: syslogd: print message to console only if ALL log targets failed
Product: Busybox Reporter: Christoph Schulz <develop>
Component: OtherAssignee: unassigned
Status: NEW ---    
Severity: minor CC: busybox-cvs
Priority: P5    
Version: 1.22.x   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:
Attachments: print message to console only if ALL log targets failed

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).