|
@@ -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());
|
|
|
}
|