Ver Fonte

session: remove logspam when debug enabled

Chris Bannister há 7 anos atrás
pai
commit
c8b22ecea0
1 ficheiros alterados com 0 adições e 3 exclusões
  1. 0 3
      session.go

+ 0 - 3
session.go

@@ -792,9 +792,6 @@ func (q *Query) execute(conn *Conn) *Iter {
 }
 
 func (q *Query) attempt(keyspace string, end, start time.Time, iter *Iter) {
-	if gocqlDebug {
-		Logger.Printf("Attempting query: %d", q.attempts)
-	}
 	q.attempts++
 	q.totalLatency += end.Sub(start).Nanoseconds()
 	// TODO: track latencies per host and things as well instead of just total