loglevel oops
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
61d078f645
commit
370e6090ce
4
lib.go
4
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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue