From c0547daba2ee390a15e9ae3fd5a314bac40de622 Mon Sep 17 00:00:00 2001
From: "Christopher J. Morrone" <morrone2@llnl.gov>
Date: Tue, 14 Nov 2006 20:36:18 +0000
Subject: [PATCH] Restore printing of jobid with SLURM_DEBUG=1

---
 src/srun/srun.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/srun/srun.c b/src/srun/srun.c
index 40fe8458231..1f1d8a2641a 100644
--- a/src/srun/srun.c
+++ b/src/srun/srun.c
@@ -225,8 +225,7 @@ int srun(int ac, char **av)
 		}
 		if (_become_user () < 0)
 			info ("Warning: unable to assume uid=%lu\n", opt.uid);
-		if (_verbose)
-			_print_job_information(resp);
+		_print_job_information(resp);
 		
 		job = job_create_allocation(resp);
 		if(!job)
@@ -305,8 +304,7 @@ int srun(int ac, char **av)
 		sig_setup_sigmask();
 		if ( !(resp = allocate_nodes()) ) 
 			exit(1);
-		if (_verbose)
-			_print_job_information(resp);
+		_print_job_information(resp);
 		job = job_create_allocation(resp);
 		if(!job)
 			exit(1);
@@ -554,7 +552,7 @@ _print_job_information(resource_allocation_response_msg_t *resp)
 		else
 			break;
 	}
-	info("%s",job_details);
+	verbose("%s",job_details);
 }
 
 
-- 
GitLab