From ef167782ffc6b700f133557a9196ac846edb3399 Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Sun, 1 Dec 2024 15:37:48 +0200 Subject: [PATCH] luci-mod-system: Add 'disabled' as cron log level Add "Disabled" with value 9 as a choice for cron log level. 9 actually exceeds the highest built-in value 8, but can be used to quieten the logging in cases where there are e.g. cron jobs running each minute, which would create log spam. Signed-off-by: Hannu Nyman --- .../htdocs/luci-static/resources/view/system/system.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js index ea9ee2ef14..2ed2b1fedb 100644 --- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js +++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js @@ -195,6 +195,7 @@ return view.extend({ o = s.taboption('logging', form.ListValue, 'cronloglevel', _('Cron Log Level')); o.default = 7; o.value(7, _('Normal')); + o.value(9, _('Disabled')); o.value(5, _('Debug')); /* -- 2.30.2