From 9b6dd74e38e4be80a5cf78810aec374cbb6622de Mon Sep 17 00:00:00 2001 From: Phil Owen <19691521+PhillipsOwen@users.noreply.github.com> Date: Thu, 6 Apr 2023 09:53:08 -0400 Subject: [PATCH] adjusting log levels for DB connection issues --- src/common/pg_utils_multi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/pg_utils_multi.py b/src/common/pg_utils_multi.py index cff559d..3f42301 100644 --- a/src/common/pg_utils_multi.py +++ b/src/common/pg_utils_multi.py @@ -213,13 +213,13 @@ def check_db_connection(self, db_info: namedtuple) -> bool: ret_val = bool(db_version) except psycopg2.DatabaseError: - self.logger.error('Error database error checking DB connection') + self.logger.debug('Error database error checking DB connection.') # connection failed ret_val = False except psycopg2.InterfaceError: - self.logger.error('Error database interface error checking DB connection') + self.logger.debug('Error database interface error checking DB connection.') # connection failed ret_val = False