Actually use a log file for build-packages

This commit is contained in:
Simon Quigley 2024-12-03 22:06:15 -06:00
parent 25a4192c07
commit 86f5d81d63

View File

@ -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",