[PATCH 5/5] base/workers: Be less loud when using specialized workers

robin.sonefors at op5.com robin.sonefors at op5.com
Mon Nov 5 14:58:33 CET 2012


From: Robin Sonefors <robin.sonefors at op5.com>

The fact that we didn't handle the job like usual is interesting, but
not quite /that/ interesting that we need it logged once per check -
let's convert that log message to a debug message.

Signed-off-by: Robin Sonefors <robin.sonefors at op5.com>
---
 base/workers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/base/workers.c b/base/workers.c
index 7042724..e57708d 100644
--- a/base/workers.c
+++ b/base/workers.c
@@ -815,7 +815,7 @@ static worker_process *get_worker(worker_job *job)
 		wp_list = dkhash_get(specialized_workers, ++slash, NULL);
 	}
 	if (wp_list != NULL) {
-		logit(NSLOG_INFO_MESSAGE, 1, "Found specialized worker(s) for '%s'", (slash && *slash != '/') ? slash : cmd_name);
+		log_debug_info(DEBUGL_CHECKS, 1, "Found specialized worker(s) for '%s'", (slash && *slash != '/') ? slash : cmd_name);
 	}
 	else {
 		if (!workers.wps)
-- 
1.7.11.7


------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d




More information about the Developers mailing list