luci-mod-status: add log filtering to syslog tab
authorPaul Donald <[email protected]>
Sat, 19 Apr 2025 18:45:11 +0000 (20:45 +0200)
committerPaul Donald <[email protected]>
Mon, 21 Apr 2025 21:32:13 +0000 (23:32 +0200)
commit16beffda15008bd9cb13ae051d43c281746e2d2e
tree443f9e0bdeb70998e3c7cb27077a56f7b23de922
parentb0b22de5710343a467b0c696670b225e9bed0436
luci-mod-status: add log filtering to syslog tab

Facility and severity filtering are based on a simple includes() search.
As such, false positives are possible. Although for the majority of
cases, this is still useful. Filtering using logread -z/Z is possible,
but not if a static log-file is configured. logread does not yet handle
severity either. 'not' checkboxes for each invert the respective search
filter.

A raw-text filter is also included as a bonus, whose meaning can be
inverted via the 'not' checkbox.

Signed-off-by: Paul Donald <[email protected]>
modules/luci-mod-status/htdocs/luci-static/resources/view/status/syslog.js