We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf8b322 commit 433b8eaCopy full SHA for 433b8ea
intra/tun2socks.go
@@ -115,9 +115,11 @@ func LogLevel(gologLevel, consolelogLevel int32) {
115
dbg := dlvl <= log.DEBUG || clvl <= log.DEBUG
116
settings.Debug = dbg
117
if settings.Debug {
118
- debug.SetTraceback(usr.s())
+ os.Setenv("GOTRACEBACK", sys.s())
119
+ debug.SetTraceback(sys.s())
120
} else {
- debug.SetTraceback(one.s())
121
+ os.Setenv("GOTRACEBACK", usr.s())
122
+ debug.SetTraceback(usr.s())
123
}
124
125
log.I("tun: new levels; golog: %d, consolelog: %d; debug? %t",
0 commit comments