diff --git a/server.py b/server.py index 6cc4035..f66e52d 100644 --- a/server.py +++ b/server.py @@ -8,9 +8,11 @@ app.run() else: import logging + import sys gunicorn_error_logger = logging.getLogger('gunicorn.error') app.logger.handlers.extend(gunicorn_error_logger.handlers) dgp_auth_logger = logging.getLogger('dgp-oauth2') + dgp_auth.logger.handlers.extend(logging.StreamHandler(stream=sys.stdout)) dgp_auth_logger.setLevel(logging.DEBUG) app.logger.handlers.extend(dgp_auth_logger.handlers) app.logger.setLevel(logging.DEBUG)