mirror of
https://github.com/openwrt/luci
synced 2025-01-09 04:28:37 +08:00
luci-proto-modemmanager: Added logging level option and debugmode
Merge github.com:valexi7/luci PR #4328
Signed-off-by: Paul Donald <newtwen@gmail.com>
Signed-off-by: valexi7 <44439515+valexi7@users.noreply.github.com>
(cherry picked from commit 1731fe12b5
)
This commit is contained in:
parent
d3df39fdc4
commit
b62adc4756
@ -135,5 +135,17 @@ return network.registerProtocol('modemmanager', {
|
||||
|
||||
o = s.taboption('general', form.Value, 'signalrate', _('Signal Refresh Rate'), _("In seconds"));
|
||||
o.datatype = 'uinteger';
|
||||
|
||||
s.taboption('general', form.Value, 'metric', _('Gateway metric'));
|
||||
|
||||
s.taboption('advanced', form.Flag, 'debugmode', _('Enable Debugmode'));
|
||||
|
||||
o = s.taboption('advanced', form.ListValue, 'loglevel', _('Log output level'));
|
||||
o.value('ERR', _('Error'))
|
||||
o.value('WARN', _('Warning'));
|
||||
o.value('INFO', _('Info'));
|
||||
o.value('DEBUG', _('Debug'));
|
||||
o.default = 'ERR';
|
||||
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user