Toggle debug mode via env var

remove logging param from global config, allowing logging server and
level to be configured inside logging subpackage from CTOP_DEBUG env var
This commit is contained in:
Bradley Cicenas
2017-03-19 04:59:01 +00:00
parent 35cc8d095d
commit 8aa932b29f
4 changed files with 15 additions and 16 deletions

View File

@@ -17,11 +17,6 @@ var switches = []*Switch{
Val: true,
Label: "Enable Status Header",
},
&Switch{
Key: "loggingEnabled",
Val: false,
Label: "Enable Logging Server",
},
}
type Switch struct {