Browse Source

fix deadlog caused by debuf message that wasn't removed

flashmob 6 years ago
parent
commit
c5ca3e5265
1 changed files with 0 additions and 1 deletions
  1. 0 1
      dashboard/hook.go

+ 0 - 1
dashboard/hook.go

@@ -48,7 +48,6 @@ func (h logHook) Fire(e *log.Entry) error {
 			ip:     ip,
 			ip:     ip,
 		}
 		}
 	case "disconnect":
 	case "disconnect":
-		mainlog().Infof("disconnect in dashboard, nclients: %d", store.nClients)
 		store.lock.Lock()
 		store.lock.Lock()
 		store.nClients--
 		store.nClients--
 		store.lock.Unlock()
 		store.lock.Unlock()