Explorar el Código

session: remove logspam when debug enabled

Chris Bannister hace 7 años
padre
commit
c8b22ecea0
Se han modificado 1 ficheros con 0 adiciones y 3 borrados
  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