From fa41e4a2c3419e318da9bc8a86dd5e80161c146c Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Tue, 11 Jan 2011 19:01:13 +0000
Subject: [PATCH] Add uid to job update logging

---
 src/slurmctld/proc_req.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/slurmctld/proc_req.c b/src/slurmctld/proc_req.c
index c6c675ca65e..051d20ebc28 100644
--- a/src/slurmctld/proc_req.c
+++ b/src/slurmctld/proc_req.c
@@ -2536,12 +2536,12 @@ static void _slurm_rpc_update_job(slurm_msg_t * msg)
 
 	/* return result */
 	if (error_code) {
-		error("_slurm_rpc_update_job JobId=%u: %s",
-		      job_desc_msg->job_id, slurm_strerror(error_code));
+		error("_slurm_rpc_update_job JobId=%u uid=%d: %s",
+		      job_desc_msg->job_id, uid, slurm_strerror(error_code));
 		slurm_send_rc_msg(msg, error_code);
 	} else {
-		debug2("_slurm_rpc_update_job complete JobId=%u %s",
-		       job_desc_msg->job_id, TIME_STR);
+		info("_slurm_rpc_update_job complete JobId=%u uid=%d %s",
+		       job_desc_msg->job_id, uid, TIME_STR);
 		slurm_send_rc_msg(msg, SLURM_SUCCESS);
 		/* Below functions provide their own locking */
 		schedule(0);
-- 
GitLab