From 370e6090ce040be3bcbd5803843b5b1970e20efe Mon Sep 17 00:00:00 2001 From: erinn Date: Fri, 11 Jun 2021 14:26:55 -0700 Subject: [PATCH] loglevel oops --- lib.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib.go b/lib.go index fcb60a6..a990be9 100644 --- a/lib.go +++ b/lib.go @@ -62,6 +62,8 @@ func c_StartCwtch(dir_c *C.char, len C.int, tor_c *C.char, torLen C.int) int8 { } func StartCwtch(appDir string, torPath string) int8 { + log.SetLevel(log.LevelInfo) + if runtime.GOOS == "android" { fh, err := os.Open(torPath) if err != nil { @@ -72,8 +74,6 @@ func StartCwtch(appDir string, torPath string) int8 { _ = fh.Close() } - log.SetLevel(log.LevelDebug) - // Exclude Tapir wire Messages (We need a TRACE level) log.ExcludeFromPattern("service.go")