From 3c75d5f13b76137d30c51ffdfe40c832a942adbd Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Fri, 26 Aug 2005 23:16:14 +0000
Subject: [PATCH] Don't increase the slurmd debug level for spawn RPC  (was set
 to NO_VAL, which logged everything).

---
 src/api/spawn.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/api/spawn.c b/src/api/spawn.c
index 48b50d2feef..9dd4e80e385 100644
--- a/src/api/spawn.c
+++ b/src/api/spawn.c
@@ -349,7 +349,7 @@ extern int slurm_spawn (slurm_step_ctx ctx, int *fd_array)
 	int *sock_array;
 	slurm_msg_t *req_array_ptr;
 	int i, rc = SLURM_SUCCESS;
-	uint16_t slurmd_debug = (uint16_t) NO_VAL;
+	uint16_t slurmd_debug = 0;
 	char *env_var;
 
 	if ((ctx == NULL) ||
-- 
GitLab