diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2024-12-01 15:37:48 +0200 |
---|---|---|
committer | Hannu Nyman <hannu.nyman@iki.fi> | 2024-12-01 15:37:48 +0200 |
commit | ef167782ffc6b700f133557a9196ac846edb3399 (patch) | |
tree | 9b96a15b54fe0985541e7ac55f5724ce476ed6b5 /modules/luci-mod-system/htdocs/luci-static/resources | |
parent | 1e7ce8de990e0bcb36b77bdb846b644aa1724568 (diff) |
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 <hannu.nyman@iki.fi>
Diffstat (limited to 'modules/luci-mod-system/htdocs/luci-static/resources')
-rw-r--r-- | modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js | 1 |
1 files changed, 1 insertions, 0 deletions
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')); /* |