From 40f35bb4b536f4e4f6520d9dfd8785f462d19737 Mon Sep 17 00:00:00 2001 From: David Beal Date: Wed, 14 Sep 2016 16:06:24 +0200 Subject: [PATCH] Set logger to debug in base_external_dbsource --- base_external_dbsource/base_external_dbsource.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/base_external_dbsource/base_external_dbsource.py b/base_external_dbsource/base_external_dbsource.py index 60047f7a1..514447eea 100644 --- a/base_external_dbsource/base_external_dbsource.py +++ b/base_external_dbsource/base_external_dbsource.py @@ -41,30 +41,30 @@ try: CONNECTORS.append(('mssql', 'Microsoft SQL Server')) assert pymssql except (ImportError, AssertionError): - _logger.info('MS SQL Server not available. Please install "pymssql"\ + _logger.debug('MS SQL Server not available. Please install "pymssql"\ python package.') try: import MySQLdb CONNECTORS.append(('mysql', 'MySQL')) assert MySQLdb except (ImportError, AssertionError): - _logger.info('MySQL not available. Please install "mysqldb"\ + _logger.debug('MySQL not available. Please install "mysqldb"\ python package.') except: - _logger.info('SQL Alchemy not available. Please install "slqalchemy"\ + _logger.debug('SQL Alchemy not available. Please install "slqalchemy"\ python package.') try: import pyodbc CONNECTORS.append(('pyodbc', 'ODBC')) except: - _logger.info('ODBC libraries not available. Please install "unixodbc"\ + _logger.debug('ODBC libraries not available. Please install "unixodbc"\ and "python-pyodbc" packages.') try: import cx_Oracle CONNECTORS.append(('cx_Oracle', 'Oracle')) except: - _logger.info('Oracle libraries not available. Please install "cx_Oracle"\ + _logger.debug('Oracle libraries not available. Please install "cx_Oracle"\ python package.')