Skip to content

Commit 4420811

Browse files
committed
Add info logs
1 parent ed731c5 commit 4420811

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

config.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
load_dotenv()
2121
logger = logging.getLogger(__name__)
2222

23+
# Enable Azure SDK debug logging
24+
logging.getLogger("azure.identity").setLevel(logging.DEBUG)
25+
logging.getLogger("azure.core.pipeline.policies.http_logging_policy").setLevel(logging.DEBUG)
2326

2427
# ============================================================
2528
# Bootstrap settings (always from env — needed to find Azure)
@@ -359,7 +362,7 @@ def get_settings() -> Settings:
359362

360363
loader = get_app_config_loader()
361364
if loader:
362-
logger.info("Loading config from Azure App Configuration")
365+
print("Loading config from Azure App Configuration")
363366
# Trigger an initial refresh check
364367
try:
365368
loader.refresh()

0 commit comments

Comments
 (0)