Browse Source

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

Con Kolivas 14 years ago
parent
commit
d89a6c57b1
1 changed files with 2 additions and 1 deletions
  1. 2 1
      util.c

+ 2 - 1
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;
 	}