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;