Переглянути джерело

session: remove logspam when debug enabled

Chris Bannister 7 роки тому
батько
коміт
c8b22ecea0
1 змінених файлів з 0 додано та 3 видалено
  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