From 2abe5b12d67b4d8d5de4d08a7dc4208b0d7ed219 Mon Sep 17 00:00:00 2001 From: Varsha GS Date: Tue, 14 Oct 2025 18:26:03 +0530 Subject: [PATCH] check log Signed-off-by: Varsha GS --- src/instana/log.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/instana/log.py b/src/instana/log.py index 173437cd..9ad968ed 100644 --- a/src/instana/log.py +++ b/src/instana/log.py @@ -88,8 +88,12 @@ def running_in_gunicorn(): env_is_aws_lambda = "AWS_Lambda_" in aws_env if running_in_gunicorn() and glogging_available(): + print("if#######") logger = logging.getLogger("gunicorn.error") elif env_is_aws_lambda is True: + print("elif#######") logger = get_aws_lambda_logger() else: logger = get_standard_logger() + +print(logger.name)