]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
BUG: CheckIn and checkouts not displaying on set echo_pool=True. Looks like pool... 4568/head
authorjaskiratsingh <jaskirat.singh@partners.rivigo.com>
Mon, 25 Mar 2019 11:57:17 +0000 (17:27 +0530)
committerjaskiratsingh <jaskirat.singh@partners.rivigo.com>
Mon, 25 Mar 2019 11:57:17 +0000 (17:27 +0530)
lib/sqlalchemy/pool/base.py

index ea73f08d44d582ba5a63193a1e5b0ccccc54c32b..31e13853655529f6db58ff2ced2f8a86312f8578 100644 (file)
@@ -495,7 +495,7 @@ class _ConnectionRecord(object):
         )
         _refs.add(rec)
         if echo:
-            pool.logger.debug(
+            pool.logger.info(
                 "Connection %r checked out from pool", dbapi_connection
             )
         return fairy
@@ -659,7 +659,7 @@ def _finalize_fairy(
 
     if connection is not None:
         if connection_record and echo:
-            pool.logger.debug(
+            pool.logger.info(
                 "Connection %r being returned to pool", connection
             )