From e16ffa6ff56cc733f85e8ecd4fc8349736f04273 Mon Sep 17 00:00:00 2001 From: Jorge de Jesus Date: Tue, 22 Oct 2019 12:12:17 +0200 Subject: [PATCH] removal of unnecessary logging --- pygeoapi/provider/postgresql.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pygeoapi/provider/postgresql.py b/pygeoapi/provider/postgresql.py index 6e431bf..da441dc 100644 --- a/pygeoapi/provider/postgresql.py +++ b/pygeoapi/provider/postgresql.py @@ -188,8 +188,6 @@ class PostgreSQLProvider(BaseProvider): except Exception as err: LOGGER.error('Error executing sql_query: {}: {}'.format( sql_query.as_string(cursor)), err) - LOGGER.error('Using search_path : {}'.format( - db.search_path)) raise ProviderQueryError() hits = cursor.fetchone()["hits"] @@ -217,7 +215,6 @@ class PostgreSQLProvider(BaseProvider): except Exception as err: LOGGER.error('Error executing sql_query: {}'.format( sql_query.as_string(cursor))) - LOGGER.error('Using search_path: {}'.format(db.search_path)) LOGGER.error(err) raise ProviderQueryError() @@ -261,7 +258,6 @@ class PostgreSQLProvider(BaseProvider): except Exception as err: LOGGER.error('Error executing sql_query: {}'.format( sql_query.as_string(cursor))) - LOGGER.error('Using search path : {}'.format(db.search_path)) LOGGER.error(err) raise ProviderQueryError()