diff --git a/snakemake_executor_plugin_slurm/__init__.py b/snakemake_executor_plugin_slurm/__init__.py index 583b077..aa952e2 100644 --- a/snakemake_executor_plugin_slurm/__init__.py +++ b/snakemake_executor_plugin_slurm/__init__.py @@ -231,7 +231,7 @@ def clean_old_logs(self) -> None: return cutoff_secs = age_cutoff * 86400 current_time = time.time() - self.logger.info(f"Cleaning up log files older than {age_cutoff} day(s).") + self.logger.info(f"Cleaning up SLURM log files older than {age_cutoff} day(s).") for path in self.slurm_logdir.rglob("*.log"): if path.is_file(): @@ -525,7 +525,7 @@ async def check_active_jobs( active_jobs_seen_by_sacct.remove(j.external_jobid) if not self.workflow.executor_settings.keep_successful_logs: self.logger.debug( - "removing log for successful job " + "removing SLURM log for successful job " f"with SLURM ID '{j.external_jobid}'" ) try: @@ -533,7 +533,7 @@ async def check_active_jobs( j.aux["slurm_logfile"].unlink() except (OSError, FileNotFoundError) as e: self.logger.warning( - "Could not remove log file" + "Could not remove SLURM log file" f" {j.aux['slurm_logfile']}: {e}" ) elif status == "PREEMPTED" and not self._preemption_warning: