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")