diff --git a/config.py b/config.py index 31beaa4b..d4ac7314 100644 --- a/config.py +++ b/config.py @@ -46,7 +46,7 @@ class DevelopmentConfig(Config): format=log_format, datefmt='%Y-%m-%d %H:%M:%S', filemode='w') logger = logging.getLogger(__name__) - logger.info('Logging has started with level WARNING.') + logger.warning('Logging has started with level WARNING.') class TestingConfig(Config): @@ -77,7 +77,7 @@ class ProductionConfig(Config): format=log_format, datefmt='%Y-%m-%d %H:%M:%S', filemode='w') logger = logging.getLogger(__name__) - logger.info('Logging has started with level ERROR.') + logger.error('Logging has started with level ERROR.') config = { diff --git a/docker-compose.yml b/docker-compose.yml index 601414f6..47e97091 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -34,7 +34,7 @@ services: - web.env image: gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/opaque_daemon:latest volumes: - - ./logs/opaque_daemon.log:/home/opaque_daemon/logs/opaque_daemon.log + - ./logs:/home/opaque_daemon/logs - $HOME/.docker/config.json:/home/opaque_daemon/.docker/config.json db: deploy: