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:
authorJeffB42 <10328858+JeffB42@users.noreply.github.com>2020-09-13 22:40:35 +0300
committerJeffB42 <10328858+JeffB42@users.noreply.github.com>2020-09-13 22:40:35 +0300
commitf5a56dcfc0c808b4a2b2bca3d265aac724562e3b (patch)
tree4d529fe3dd3e3464c6f23697451ed306c77acc7c /main.go
parent928a6e627ffed80494a6bf1b5f0a6c7fd8f845c9 (diff)
changed the way the panel history and back button navigation is handled, now using a stack
Diffstat (limited to 'main.go')
-rwxr-xr-xmain.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/main.go b/main.go
index daa5bbd..f657208 100755
--- a/main.go
+++ b/main.go
@@ -43,7 +43,7 @@ func main() {
}
utils.SanityCheckRequiredEnvironmentVariables()
-
+
gtk.Main()
utils.Logger.Info("leaving main.main()")
@@ -86,11 +86,13 @@ func setLogLevel() {
case "info":
utils.SetLogLevel(logrus.InfoLevel)
- case "":
- fallthrough
case "warn":
utils.SetLogLevel(logrus.WarnLevel)
+ case "":
+ logLevel = "error"
+ os.Setenv(utils.EnvLogLevel, "error")
+ fallthrough
case "error":
utils.SetLogLevel(logrus.ErrorLevel)