WANG há 5 anos atrás
pai
commit
6b00431819

+ 3 - 3
src/main/java/cn/com/qmth/examcloud/web/actuator/ApiStatusInfoHolder.java

@@ -61,7 +61,7 @@ public class ApiStatusInfoHolder implements ApplicationRunner {
 
 	private static synchronized void refresh() {
 		long trace = 10000 + RandomUtils.nextLong(0, 89999);
-		LOG.info(trace + " [ApiStatus]. refresh...");
+		LOG.debug(trace + " [ApiStatus]. refresh...");
 		running.set(true);
 		try {
 			ReportorHolder.getApiDataReportor().report();
@@ -80,11 +80,11 @@ public class ApiStatusInfoHolder implements ApplicationRunner {
 			apiStatusInfoMap = newApiInfoMap;
 
 		} catch (Exception e) {
-			LOG.info(trace + " [ApiStatus]. fail to refresh API status", e);
+			LOG.debug(trace + " [ApiStatus]. fail to refresh API status", e);
 		}
 
 		running.set(false);
-		LOG.info(trace + " [ApiStatus]. OVER");
+		LOG.debug(trace + " [ApiStatus]. OVER");
 	}
 
 }