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]>
Tue, 17 Jun 2025 14:00:34 +0000 (16:00 +0200)
commit7aa39de9fe14eebbc4115698658c505eb8756b83
treeeb866089c2d1763afec5b49e8c6a2a493b0afdd5
parentfe30872635521ef79f177b12b6f87ee5753e945f
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]>
(cherry picked from commit 16beffda15008bd9cb13ae051d43c281746e2d2e)
modules/luci-mod-status/htdocs/luci-static/resources/view/status/syslog.js