From a720a1e0cf3112c2357796713f1c11abf21ceb0c Mon Sep 17 00:00:00 2001 From: Dongge Liu Date: Tue, 30 Jul 2024 15:26:39 +1000 Subject: [PATCH] Config logging level --- service/pr_experiment_log.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/service/pr_experiment_log.py b/service/pr_experiment_log.py index 1390dfffc..6cd2fc4c6 100644 --- a/service/pr_experiment_log.py +++ b/service/pr_experiment_log.py @@ -2,4 +2,7 @@ import logging import os +logging.basicConfig(level=logging.INFO, + format='%(asctime)s - %(levelname)s - %(message)s') + logging.info('PR: %s', os.getenv('PR_NUMBER'))