Skip to content
This repository was archived by the owner on Apr 28, 2022. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
fatedier committed May 17, 2017
1 parent 2883d70 commit a5f0648
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions client/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ func (pxy *UdpProxy) InWorkConn(conn frpNet.Conn) {
sendCh <- &msg.Ping{}
}); errRet != nil {
pxy.Trace("heartbeat goroutine for udp work connection closed")
break
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions utils/log/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
var Log *logs.BeeLogger

func init() {
Log = logs.NewLogger(100)
Log = logs.NewLogger(200)
Log.EnableFuncCallDepth(true)
Log.SetLogFuncCallDepth(Log.GetLogFuncCallDepth() + 1)
}
Expand All @@ -43,7 +43,7 @@ func SetLogFile(logWay string, logFile string, maxdays int64) {
}
}

// value: error, warning, info, debug
// value: error, warning, info, debug, trace
func SetLogLevel(logLevel string) {
level := 4 // warning
switch logLevel {
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit a5f0648

Please sign in to comment.