瀏覽代碼

:fix:修改日志类型

zhangxianyu 1 年之前
父節點
當前提交
8e08df27d6

+ 1 - 1
game-data/game-data-serve/src/main/java/com/zanxiang/game/data/serve/service/impl/IWebVisitLogServiceImpl.java

@@ -42,7 +42,7 @@ public class IWebVisitLogServiceImpl implements IWebVisitLogService {
         //将记录发到kafka记录
         try {
             kafkaProducer.send(new ProducerRecord<>(this.webLogTopic,webLogJsonString));
-            log.info("发送web访问日志到kafka成功,topic:{},数据为:{}",this.webLogTopic,webLogJsonString);
+            log.error("发送web访问日志到kafka成功,topic:{},数据为:{}",this.webLogTopic,webLogJsonString);
         }catch (Exception e){
             log.error("发送web访问日志到kafka失败,topic:{},数据为:{},异常为:{}",this.webLogTopic,webLogJsonString,e.toString());
         }