[FS#4077] ERROR level instead of INFO level in syslog messages from BusyBox components (crond)

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Sun Oct 10 13:01:25 PDT 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - salexa74 (salexa74) 

Attached to Project - OpenWrt/LEDE Project
Summary - ERROR level instead of INFO level in syslog messages from BusyBox components (crond)
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - The [[https://git.busybox.net/busybox/tree/Config.in?h=1_31_0#n342|FEATURE_SYSLOG_INFO]] option appeared in BusyBox v. 1.31.0. But in OpenWRT this option is disabled by default: [[https://github.com/openwrt/openwrt/blob/master/package/utils/busybox/Config-defaults.in#L82-L84|master]], [[https://github.com/openwrt/openwrt/blob/openwrt-21.02/package/utils/busybox/Config-defaults.in#L82-L84|openwrt-21.02 branch]] (in order to save about 200 bytes?!). As a result, BusyBox components (for example, crond) in syslog write all messages with the ERROR level instead of INFO level, which misleads users:
Sun Oct 10 19:07:35 2021 cron.err crond[8795]: crond (busybox 1.31.0) started, log level 5
Sun Oct 10 19:08:00 2021 cron.err crond[8795]: USER root pid 9035 cmd /usr/bin/test.sh
Sun Oct 10 19:08:00 2021 cron.err crond[8795]: USER root pid 9036 cmd echo "hello"
 

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=4077

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list