Browse Source

Pull request #9821: REPORT-64340 删除无效日志

Merge in DESIGN/design from ~TOMMY/design:release/11.0 to release/11.0

* commit '3933e58ea0605312875e1a91b68ea906fac93403':
  REPORT-64340 删除无效日志
release/11.0
Tommy 2 years ago
parent
commit
e989420ae5
  1. 6
      designer-base/src/main/java/com/fr/design/mainframe/share/collect/ComponentSender.java

6
designer-base/src/main/java/com/fr/design/mainframe/share/collect/ComponentSender.java

@ -17,13 +17,7 @@ public class ComponentSender {
private static final String CLOUD_REUSE_URL = "https://cloud.fanruan.com/api/monitor/record_of_reusePlugin/single"; private static final String CLOUD_REUSE_URL = "https://cloud.fanruan.com/api/monitor/record_of_reusePlugin/single";
public static boolean send() { public static boolean send() {
long start = System.currentTimeMillis();
String content = ComponentCollector.getInstance().generateTotalInfo(); String content = ComponentCollector.getInstance().generateTotalInfo();
long end = System.currentTimeMillis();
FineLoggerFactory.getLogger().error("cal time cost {} ms", end - start);
return sendInfo(CLOUD_REUSE_URL, content); return sendInfo(CLOUD_REUSE_URL, content);
} }

Loading…
Cancel
Save