Skip to content
Snippets Groups Projects
Commit df0e6771 authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Comment out logger code.

parent 591850bb
No related branches found
No related tags found
No related merge requests found
......@@ -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 = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment