Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Z-Bolt/OctoScreen.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael J Mulligan <mike@belineperspectives.com>2021-03-16 06:11:52 +0300
committerMichael J Mulligan <mike@belineperspectives.com>2021-03-16 06:11:52 +0300
commit3cecb767529cc716734ef50808d45ca16d00bfb9 (patch)
tree2f932a31e2bdac952afcd69a8636fd430c92da4d /main.go
parent3903a524c80479e75fbe3be0cdfcc96147bfea67 (diff)
Seems like too easy of a fix.
Not sure what was going on here, but... We never used the configured Log Level... Why?
Diffstat (limited to 'main.go')
-rwxr-xr-xmain.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 67daf7c..6a7fc91 100755
--- a/main.go
+++ b/main.go
@@ -145,7 +145,7 @@ func main() {
func setLogLevel() {
- logLevel := logger.LogLevel()
+ logLevel := strings.ToLower(os.Getenv(utils.EnvLogLevel))
switch logLevel {
case "debug":