luci-mod-status: fix syslog page with syslog-ng#8399
luci-mod-status: fix syslog page with syslog-ng#8399Ramon00 wants to merge 1 commit intoopenwrt:masterfrom
Conversation
If you have syslog-ng installed instead of logd then syslog page displays errors. This commit fixes that. Signed-off-by: Ramon Van Gorkom <Ramon00c00@gmail.com>
|
syslog-ng provides a wrapper (it has but not the one called here - yet). Also, how do you install syslog-ng? Does it remove logd? |
|
This is the wrapper Not sure if it removes logd automatically, but I always remove logd then install syslog-ng. |
|
It's a 'suggestion' - not a default. I suppose inserting a keyword might fix that? 1000 lines is roughly 32kb. It's a good performance balance.
Check the syslog-ng package for its wrapper script. See whether both align. |
syslog-ng is just writing to |

If you have syslog-ng installed instead of logd then syslog page displays errors.
This commit fixes that.
P.S. Every 5 seconds an error is added to the page via ui.addNotification, not sure if we want to fix that in addition? It does not look very elegant... We could just replace the error box with an error message in the log file box?