diff --git a/jasmin_slurm_sync/user.py b/jasmin_slurm_sync/user.py index b6c1d81..2f5341f 100644 --- a/jasmin_slurm_sync/user.py +++ b/jasmin_slurm_sync/user.py @@ -52,7 +52,8 @@ def expected_slurm_accounts(self) -> set[str]: if expected_accounts >= self.settings.required_slurm_accounts: return expected_accounts logger.warning( - "User is not in required accounts: %s so will be removed from ALL acounts that the script manages.", + "User %s is not in required accounts: %s so will be removed from ALL acounts that the script manages.", + self.username, self.settings.required_slurm_accounts - expected_accounts, ) return set()