luci-mod-admin-full: add log_file and log_proto support
Signed-off-by: John Crispin <john@phrozen.org> [Jo-Philipp Wich: remove file datatype constraint] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
d4176328df
commit
ce3eb113f4
1 changed files with 8 additions and 0 deletions
|
@ -80,6 +80,14 @@ o.optional = true
|
|||
o.placeholder = 514
|
||||
o.datatype = "port"
|
||||
|
||||
o = s:taboption("logging", ListValue, "log_proto", translate("External system log server protocol"))
|
||||
o:value("udp", "UDP")
|
||||
o:value("tcp", "TCP")
|
||||
|
||||
o = s:taboption("logging", Value, "log_file", translate("Write system log to file"))
|
||||
o.optional = true
|
||||
o.placeholder = "/tmp/system.log"
|
||||
|
||||
o = s:taboption("logging", ListValue, "conloglevel", translate("Log output level"))
|
||||
o:value(8, translate("Debug"))
|
||||
o:value(7, translate("Info"))
|
||||
|
|
Loading…
Reference in a new issue