소스 검색

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