丁云鹏 1 年之前
父節點
當前提交
45b267afa9

+ 0 - 7
recommend-server-service/src/main/java/com/tzld/piaoquan/recommend/server/service/filter/AbstractFilterService.java

@@ -225,8 +225,6 @@ public abstract class AbstractFilterService {
         param.setVideoIds(riskVideoIds);
 
         List<FilterStrategy> strategies = getStrategies(param);
-        log.info("filter strategies {}", JSONUtils.toJson(CommonCollectionUtils.toList(strategies,
-                o -> o.getClass().getSimpleName())));
         CountDownLatch cdl = new CountDownLatch(strategies.size());
         List<Future<List<Long>>> futures = new ArrayList<>();
         for (final FilterStrategy strategy : strategies) {
@@ -234,10 +232,6 @@ public abstract class AbstractFilterService {
                 Stopwatch stopwatch = Stopwatch.createStarted();
                 List<Long> result = strategy.filter(param);
                 cdl.countDown();
-                log.info("{} param {} result {} cost {} ms", strategy.getClass().getSimpleName(),
-                        JSONUtils.toJson(param.getVideoIds()),
-                        JSONUtils.toJson(result),
-                        stopwatch.elapsed(TimeUnit.MILLISECONDS));
                 return result;
             });
             futures.add(future);
@@ -264,7 +258,6 @@ public abstract class AbstractFilterService {
         for (int i = 0; i < videoIds.size(); ++i) {
             result.retainAll(videoIds.get(i));
         }
-        log.info("filter result {}", JSONUtils.toJson(result));
         return result;
     }