From 14587384bdb89aa11ce3e635acdfde909f1385d6 Mon Sep 17 00:00:00 2001
From: Danny Auble <da@llnl.gov>
Date: Wed, 13 May 2009 18:00:04 +0000
Subject: [PATCH] even better debug

---
 .../mysql/accounting_storage_mysql.c          | 27 ++++++++++---------
 1 file changed, 15 insertions(+), 12 deletions(-)

diff --git a/src/plugins/accounting_storage/mysql/accounting_storage_mysql.c b/src/plugins/accounting_storage/mysql/accounting_storage_mysql.c
index 818c8e7f69a..28f1fa1e976 100644
--- a/src/plugins/accounting_storage/mysql/accounting_storage_mysql.c
+++ b/src/plugins/accounting_storage/mysql/accounting_storage_mysql.c
@@ -10406,20 +10406,23 @@ extern int jobacct_storage_p_job_start(mysql_conn_t *mysql_conn,
 	slurm_mutex_lock(&rollup_lock);
 	if(check_time < global_last_rollup) {
 		if(job_ptr->start_time)
-			info("Need to reroll usage from %sJob %u "
-			     "from %s started then and we are just "
-			     "now hearing about it.",
-			     ctime(&check_time), job_ptr->job_id, cluster_name);
+			debug("Need to reroll usage from %sJob %u "
+			      "from %s started then and we are just "
+			      "now hearing about it.",
+			      ctime(&check_time),
+			      job_ptr->job_id, cluster_name);
 		else if(job_ptr->details->begin_time) 
-			info("Need to reroll usage from %sJob %u "
-			     "from %s became eligible then and we are just "
-			     "now hearing about it.",
-			     ctime(&check_time), job_ptr->job_id, cluster_name);
+			debug("Need to reroll usage from %sJob %u "
+			      "from %s became eligible then and we are just "
+			      "now hearing about it.",
+			      ctime(&check_time), 
+			      job_ptr->job_id, cluster_name);
 		else
-			info("Need to reroll usage from %sJob %u "
-			     "from %s was submitted then and we are just "
-			     "now hearing about it.",
-			     ctime(&check_time), job_ptr->job_id, cluster_name);
+			debug("Need to reroll usage from %sJob %u "
+			      "from %s was submitted then and we are just "
+			      "now hearing about it.",
+			      ctime(&check_time),
+			      job_ptr->job_id, cluster_name);
 			
 		global_last_rollup = check_time;
 		slurm_mutex_unlock(&rollup_lock);
-- 
GitLab