From df0e6771989e442ad5741bd67a0fe83b79858b98 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Fri, 13 Sep 2019 08:49:23 +0200 Subject: [PATCH] Comment out logger code. --- config.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.py b/config.py index 1177ded2..a938b370 100644 --- a/config.py +++ b/config.py @@ -36,6 +36,7 @@ class DevelopmentConfig(Config): os.environ.get('POSTGRES_PASSWORD'), os.environ.get('POSTGRES_DB_NAME') ) + ''' if not os.path.isfile('logs/opaque_web.log'): file_path = os.path.join(os.getcwd(), 'logs/opaque_web.log') log = open(file_path, 'w+') @@ -49,6 +50,7 @@ class DevelopmentConfig(Config): logger = logging.getLogger(__name__) logger.warning('Logging has started with level WARNING.' ' From development config.') + ''' class TestingConfig(Config): @@ -69,6 +71,7 @@ class ProductionConfig(Config): os.environ.get('POSTGRES_PASSWORD'), os.environ.get('POSTGRES_DB_NAME') ) + ''' if not os.path.isfile('logs/opaque_web.log'): file_path = os.path.join(os.getcwd(), 'logs/opaque_web.log') log = open(file_path, 'w+') @@ -82,6 +85,7 @@ class ProductionConfig(Config): logger = logging.getLogger(__name__) logger.error('Logging has started with level ERROR.' ' From production config.') + ''' config = {