proxy: record failures of remote connection only

This commit is contained in:
nadoo committed 2020-09-14 20:56:37 +08:00
1 parent b3b11b4188
commit 89114e678b
7 files changed
+33 -15

No files matched your search

+2 -2
View File
@@ -41,8 +41,8 @@ func main() {
confInit()
// setup a log func
log.F = func(f string, v ...interface{}) {
if conf.Verbose {
if conf.Verbose {
log.F = func(f string, v ...interface{}) {
stdlog.Output(2, fmt.Sprintf(f, v...))
}
}