Merge pull request #2350 from TDT-AG/pr/20181204-luci-mod-system
[oweals/luci.git] / applications / luci-app-aria2 / luasrc / model / cbi / aria2.lua
index 3b61f95464d49b374d47b5facff3acc1e2b2ead3..9e9df9aa71963021e32d6d8aac50d027e0eef08e 100644 (file)
@@ -89,12 +89,12 @@ o.rmempty = true
 o = s:taboption("file", Value, "config_dir", translate("Config file directory"))
 o.placeholder = "/var/etc/aria2"
 
-o = s:taboption("file", Flag, "enable_log", translate("Enable log"), translate("Log file is in the config file dir."))
+o = s:taboption("file", Flag, "enable_logging", translate("Enable log"), translate("The default log file is /var/log/aria2.log"))
 o.enabled = "true"
 o.disabled = "false"
  
 o = s:taboption("file", ListValue, "log_level", translate("Log level"))
-o:depends("enable_log", "true")
+o:depends("enable_logging", "true")
 o:value("debug", translate("Debug"))
 o:value("info", translate("Info"))
 o:value("notice", translate("Notice"))