luci-mod-status: fix syslog warning (4) log level filter
authorPaul Donald <[email protected]>
Mon, 29 Sep 2025 14:00:57 +0000 (16:00 +0200)
committerPaul Donald <[email protected]>
Mon, 29 Sep 2025 14:00:57 +0000 (16:00 +0200)
Closes #7967

the warning syslog level is internally denoted as 'warn'.

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

index a71f4d95e71f29b83cce4aa1ef1c0cb5cb1b4db8..651188f12da3c3a9a1d9b09edf160f736bd2cfaf 100644 (file)
@@ -46,7 +46,7 @@ return view.extend({
                ['1',  'alert',   _('Alert')],
                ['2',  'crit',   _('Critical')],
                ['3',  'err', _('Error')],
-               ['4',  'warning',   _('Warning')],
+               ['4',  'warn',   _('Warning')],
                ['5',  'notice', _('Notice')],
                ['6',  'info',    _('Info')],
                ['7',  'debug',   _('Debug')]