From: Hannu Nyman Date: Sun, 1 Dec 2024 13:37:48 +0000 (+0200) Subject: luci-mod-system: Add 'disabled' as cron log level X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=ef167782ffc6b700f133557a9196ac846edb3399;p=openwrt-luci.git 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 --- 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')); /*