From 86f5d81d63606935f96da59133efcb0850c93ee7 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Tue, 3 Dec 2024 22:06:15 -0600 Subject: [PATCH] Actually use a log file for build-packages --- build-packages | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build-packages b/build-packages index 85fb1f1..9737fba 100755 --- a/build-packages +++ b/build-packages @@ -37,6 +37,8 @@ os.makedirs(LOG_DIR, exist_ok=True) os.makedirs(OUTPUT_DIR, exist_ok=True) os.makedirs(BASE_LINTIAN_DIR, exist_ok=True) +current_time = datetime.utcnow().strftime("%H-%M-%S") +log_file = os.path.join(LOG_DIR, f"{current_time}.log") logging.basicConfig( level=logging.INFO, format="%(asctime)s - %(levelname)s - %(message)s",