luci-mod-status: display log_file in status if defined
authorChristian Korber <ckorber@tdt.de>
Wed, 3 Jul 2024 11:55:43 +0000 (13:55 +0200)
committerPaul Donald <newtwen+github@gmail.com>
Mon, 22 Jul 2024 22:41:47 +0000 (00:41 +0200)
commit734442a10b4470dab6e41214592f7b7870c27f83
tree576be6c3ac698fb6736ff69882974194b8734caf
parent7ebdefe7aefb231635e30d53184a836fd7af6545
luci-mod-status: display log_file in status if defined

Commit includes wrapper syslog in /usr/libexec. If a log file is configured, the output of this file is displayed. Otherwise the output of logread is displayed.

Signed-off-by: Christian Korber <ckorber@tdt.de>
modules/luci-mod-status/htdocs/luci-static/resources/view/status/syslog.js
modules/luci-mod-status/root/usr/libexec/syslog-wrapper [new file with mode: 0755]
modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json