loglevel oops
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
erinn 2021-06-11 14:26:55 -07:00
parent 61d078f645
commit 370e6090ce
1 changed files with 2 additions and 2 deletions

4
lib.go
View File

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