From 079cbbd17ebf07f4a346e8e8aea8be672e300a67 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 2 Nov 2024 21:30:27 +0000 Subject: [PATCH] move logfile to tmp dir --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 74e4a8c..bf463cf 100644 --- a/main.py +++ b/main.py @@ -13,7 +13,7 @@ from RunningJob import RunningJob # Configure logging -log_file = 'slurm-action-runners.log' +log_file = '/tmp/slurm-action-runners.log' log_handler = RotatingFileHandler(log_file, maxBytes=10*1024*1024, backupCount=5) # 10 MB per file, 5 backup files log_handler.setLevel(logging.INFO) log_formatter = logging.Formatter('%(asctime)s - %(levelname)s - %(message)s')