From fd09828b112fd0a9df37ed0f93cf0c3fdca2d11e Mon Sep 17 00:00:00 2001 From: Mackenzie Halliday Date: Wed, 26 Jun 2024 22:15:49 -0400 Subject: [PATCH] Squash #146 - Adjust logs --- notifications_utils/logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notifications_utils/logging.py b/notifications_utils/logging.py index 6f4fd6fd..14d27444 100644 --- a/notifications_utils/logging.py +++ b/notifications_utils/logging.py @@ -50,7 +50,7 @@ def init_app(app, statsd_client=None): else: app.config.setdefault('NOTIFY_LOG_LEVEL', 'DEBUG') - print("NOTIFCATION-UTILS WHAT IS NOTIFY_ENVIRONMENT", app.config['NOTIFY_ENVIRONMENT'] ) + print("NOTIFCATION-UTILS WHAT IS NOTIFY_ENVIRONMENT", os.environ['NOTIFY_ENVIRONMENT']) print("NOTIFICATION-UTILS WHAT IS NOTIFY_LOG_LEVEL", app.config['NOTIFY_LOG_LEVEL'] ) app.config.setdefault('NOTIFY_APP_NAME', 'none')