Skip to content

Commit

Permalink
luci-mod-system: Add 'disabled' as cron log level
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
hnyman committed Dec 1, 2024
1 parent 1e7ce8d commit ef16778
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'));

/*
Expand Down

0 comments on commit ef16778

Please sign in to comment.