-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
luci-base: err log class for non-err messages #7315
Comments
Make it |
That was one of the first things I tried but nothing is then emitted to the syslog. 😒 I thought you would know better what to try after that. |
I'll try printf, maybe I just tried sprintf. |
No - those don't seem to emit anything. 🤷 |
Yeah, I recall. It's because procd captures uhttpd's stderr and relays it as daemon.err which is where LuCI's warn() output ends up. stdout is reserved for cgi communication. Not solvable unless you invest time implementing a full blown |
ping @jow-
Steps to reproduce:
daemon.err
log lines like:This appears due to
dispatch.uc
which has:So we get
daemon.err
despite the message electing theinfo
log class. Can this be improved?Expected behavior:
Correct log class for syslog messages from uhttpd.
Additional Information:
OpenWrt version information from system
/etc/openwrt_release
The text was updated successfully, but these errors were encountered: