Forráskód Böngészése

减少日志内容

gufengshou1 1 éve
szülő
commit
7de9a8bd9f

+ 3 - 0
ad-engine-service/src/main/java/com/tzld/piaoquan/ad/engine/service/predict/model/threshold/ScoreV2ThresholdPredictModel.java

@@ -101,7 +101,10 @@ public class ScoreV2ThresholdPredictModel extends ThresholdPredictModel {
         }
         if(maxItem != null){
             ThresholdModelContainer.mergingDigestAddScore(maxItem.getScore());
+            //删除多余打印
             maxItem.setItemFeature(null);
+            maxItem.setLrSampleString(null);
+            maxItem.setLrSampleStringOrgin(null);
             log.info("svc=ScoreV2ThresholdPredictModel_predict modelName=ScoreV2ThresholdPredictModel maxItem={} extraParam={} app_type={} realThreshold={}",
                     JSONObject.toJSONString(maxItem), JSONObject.toJSONString(scoreParam.getExtraParam()),modelParam.getAppType(),realThreshold);
         }