From 48a24e5ae8111de657399495172af00acffeb83c Mon Sep 17 00:00:00 2001 From: gargsaumya Date: Mon, 2 Jun 2025 14:46:44 +0530 Subject: [PATCH] adding LO statement instead of print --- mssql_python/pybind/connection/connection_pool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mssql_python/pybind/connection/connection_pool.cpp b/mssql_python/pybind/connection/connection_pool.cpp index dbe2765e..45e4ff3d 100644 --- a/mssql_python/pybind/connection/connection_pool.cpp +++ b/mssql_python/pybind/connection/connection_pool.cpp @@ -66,7 +66,7 @@ std::shared_ptr ConnectionPool::acquire(const std::wstring& connStr, try { conn->disconnect(); } catch (const std::exception& ex) { - std::cout << "disconnect() failed: " << ex.what() << std::endl; + LOG("Disconnect bad/expired connections failed: {}", ex.what()); } } return valid_conn;