luci-app-dockerman: do not set log_level for dockerd default setting
authorFlorian Eckert <fe@dev.tdt.de>
Thu, 8 Apr 2021 13:03:46 +0000 (15:03 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Mon, 19 Apr 2021 14:26:04 +0000 (16:26 +0200)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 36869ffd2b9cf98066ce57e3cc98608b9e2ec9a0)

applications/luci-app-dockerman/luasrc/model/cbi/dockerman/overview.lua

index 2e21b806c57fbc4bc2107fdaf6d290835dea9ac4..cc4b287cba197e332f8539d365725a7c2652dd70 100644 (file)
@@ -131,10 +131,11 @@ if nixio.fs.access("/usr/bin/dockerd") then
                translate("Log Level"),
                translate('Set the logging level'))
        o:value("debug", "debug")
-       o:value("info", "info")
+       o:value("", "info") -- This is the default debug level from the deamon is optin is not set
        o:value("warn", "warn")
        o:value("error", "error")
        o:value("fatal", "fatal")
+       o.rmempty = true
        o:depends("remote_endpoint", 0)
 
        o = s:option(DynamicList, "hosts",