1.增加web 显示profile

2.重新安排了一些日志的等级
This commit is contained in:
dmy@lab
2015-11-20 17:31:32 +08:00
parent fff90f7057
commit da0e77d74c
10 changed files with 39 additions and 22 deletions

View File

@@ -54,11 +54,11 @@ func (this *TunnelStatusManager) chanListener() {
select {
case r := <-this.regChan:
this.register(r)
log.Info("A tunnel registered")
log.Info(this.QueryStatString())
log.Debug("A tunnel registered")
log.Debug(this.QueryStatString())
case ur := <-this.unregChan:
this.unregister(ur)
log.Info("A tunnel unregistered")
log.Debug("A tunnel unregistered")
}
}
}