| Summary: | logger: add support for the -i option | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | Christopher Maynard <christopher.maynard> |
| Component: | Networking | Assignee: | unassigned |
| Status: | NEW --- | ||
| Severity: | enhancement | CC: | busybox-cvs, janovji3 |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: |
Short patch for bug #8626 add option -i to logger
Patch for bug #8626 add option -i to logger logger -i patch |
||
Created attachment 6391 [details] Short patch for bug #8626 add option -i to logger Short patch adding -i option to logger. Tested version 1.25.0.git . Created attachment 6396 [details] Patch for bug #8626 add option -i to logger Add option -i to logger and can be enabled/disabled in menuconfig. Modifications are inspired by syslogd.c code. (If something wrong then sorry I use bugzilla first time :-) .) Created attachment 6421 [details]
logger -i patch
|
dhcpcd's dhcpcd-run-hooks.in:syslog()[1] expects logger to support the '-i' option. It would be nice if busybox's logger supported it so dhcpcd's messages could be successfully logged. From the logger man page[2]: -i Log the PID of the logger process with each line. [1]: http://roy.marples.name/projects/dhcpcd/artifact/388aaf84a4b9d16b [2]: http://man7.org/linux/man-pages/man1/logger.1.html