Bug 7502 - Allow ZCIP to log to syslog even if running in the foreground
Summary: Allow ZCIP to log to syslog even if running in the foreground
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Networking (show other bugs)
Version: unspecified
Hardware: All All
: P5 enhancement
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-01 13:01 UTC by Michel Stam
Modified: 2014-10-01 13:01 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
Patch to force syslog logging (1.68 KB, application/octet-stream)
2014-10-01 13:01 UTC, Michel Stam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Stam 2014-10-01 13:01:00 UTC
Created attachment 5720 [details]
Patch to force syslog logging

OpenWRT nowadays uses procd to start processes. These processes typically run in the foreground so they can be auto-restarted when the process crashes/exits.

Unfortunately, zcip does not log a lot of messages to syslog, and when running in foreground it does not log any messages to syslog at all (they are printed on the console).

This patch allows zcip to log to syslog if -s is specified.

Note; the attached patch assumes https://bugs.busybox.net/show_bug.cgi?id=7496 has been applied as well.