From: Daniele Varrazzo Date: Thu, 7 Apr 2022 17:57:07 +0000 (+0200) Subject: fix: drop debug logging left over X-Git-Tag: 3.1~141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1949dee4d4664b2d85968fed8aff8592ef657ae5;p=thirdparty%2Fpsycopg.git fix: drop debug logging left over --- diff --git a/psycopg_c/psycopg_c/_psycopg/generators.pyx b/psycopg_c/psycopg_c/_psycopg/generators.pyx index 8d623a4e1..473e0ea8a 100644 --- a/psycopg_c/psycopg_c/_psycopg/generators.pyx +++ b/psycopg_c/psycopg_c/_psycopg/generators.pyx @@ -27,7 +27,6 @@ def connect(conninfo: str) -> PQGenConn[abc.PGconn]: """ cdef pq.PGconn conn = pq.PGconn.connect_start(conninfo.encode()) - logger.debug("connection started, status %s", conn.status) cdef libpq.PGconn *pgconn_ptr = conn._pgconn_ptr cdef int conn_status = libpq.PQstatus(pgconn_ptr) cdef int poll_status @@ -41,7 +40,6 @@ def connect(conninfo: str) -> PQGenConn[abc.PGconn]: ) poll_status = libpq.PQconnectPoll(pgconn_ptr) - logger.debug("connection polled, status %s", conn.status) if poll_status == libpq.PGRES_POLLING_OK: break elif poll_status == libpq.PGRES_POLLING_READING: