Selaa lähdekoodia

fix deadlog caused by debuf message that wasn't removed

flashmob 6 vuotta sitten
vanhempi
sitoutus
c5ca3e5265
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  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,
 		}
 	case "disconnect":
-		mainlog().Infof("disconnect in dashboard, nclients: %d", store.nClients)
 		store.lock.Lock()
 		store.nClients--
 		store.lock.Unlock()