From 91d36d097a265f0f1072d54ad14c0c9dd9d5c68c Mon Sep 17 00:00:00 2001 From: Noel Maersk Date: Fri, 14 Feb 2014 20:51:16 +0200 Subject: [PATCH] log: add LOG_DEBUG message on restarting stratum. --- util.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util.c b/util.c index 353c1876..8baa480b 100644 --- a/util.c +++ b/util.c @@ -2422,12 +2422,15 @@ out: bool restart_stratum(struct pool *pool) { + applog(LOG_DEBUG, "Restarting stratum on pool %s", pool->poolname); + if (pool->stratum_active) suspend_stratum(pool); if (!initiate_stratum(pool)) return false; if (!auth_stratum(pool)) return false; + return true; }