Commit d89a6c57b1e43c8046878fbd018d752f6d314ff4

Con Kolivas 2011-08-18T21:35:05

Since we check roll time per work item now, it need only be debug log level.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/util.c b/util.c
index aeea055..99ebf43 100644
--- a/util.c
+++ b/util.c
@@ -236,7 +236,8 @@ static size_t resp_hdr_cb(void *ptr, size_t size, size_t nmemb, void *user_data)
 		applog(LOG_DEBUG, "HTTP hdr(%s): %s", key, val);
 
 	if (!strcasecmp("X-Roll-Ntime", key)) {
-		applog(LOG_INFO, "X-Roll-Ntime found");
+		if (opt_debug)
+			applog(LOG_DEBUG, "X-Roll-Ntime found");
 		hi->has_rolltime = true;
 	}