Преглед на файлове

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