diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-07-02 15:47:27 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-07-02 15:47:27 +0000 |
commit | 19f94464c6a172a98520f702ece4d0ecdb0828ce (patch) | |
tree | ef63f7e81c3d34c49b127f38a54478544fa3f3d4 /modules/admin-full/luasrc | |
parent | ca0de8445cd7883e0872510880076c75dbe29845 (diff) |
modules/admin-full: fix off-by-one in conloglevel option (#263)
Diffstat (limited to 'modules/admin-full/luasrc')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_system/system.lua | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_system/system.lua b/modules/admin-full/luasrc/model/cbi/admin_system/system.lua index 4fe10d0ed3..f2e83401e0 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_system/system.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_system/system.lua @@ -123,14 +123,14 @@ o.placeholder = 514 o.datatype = "port" o = s:taboption("logging", ListValue, "conloglevel", translate("Log output level")) -o:value(7, translate("Debug")) -o:value(6, translate("Info")) -o:value(5, translate("Notice")) -o:value(4, translate("Warning")) -o:value(3, translate("Error")) -o:value(2, translate("Critical")) -o:value(1, translate("Alert")) -o:value(0, translate("Emergency")) +o:value(8, translate("Debug")) +o:value(7, translate("Info")) +o:value(6, translate("Notice")) +o:value(5, translate("Warning")) +o:value(4, translate("Error")) +o:value(3, translate("Critical")) +o:value(2, translate("Alert")) +o:value(1, translate("Emergency")) o = s:taboption("logging", ListValue, "cronloglevel", translate("Cron Log Level")) o.default = 8 |