增加日志信息,并修改日志级别为DEBUG

This commit is contained in:
zhouxiunai
2020-09-01 17:15:54 +08:00
parent 6fe2f23f6c
commit 5ebbf057f8
2 changed files with 6 additions and 1 deletions
@@ -35,10 +35,12 @@ public class MsgExchangeRunner implements Runnable{
List<Cminmsg> lsCminmsgs = cminmsgService.getNewMsgsAfterId(0L);
if(null == lsCminmsgs || lsCminmsgs.size() <= 0)
{
logger.debug("未获取到cminmsg消息");
return;
}
//分发消息进行处理
//分发消息进行处理
logger.debug("获取到{}条cminmsg消息.准备发送",lsCminmsgs.size());
for (Cminmsg cminmsg : lsCminmsgs) {
msgHandlerDispatcher.dispatch(cminmsg);
}//end for
+3
View File
@@ -1,3 +1,6 @@
logging:
level: # 日志级别
com.gzzn.omms.msgexchangeapi.runner: DEBUG
spring:
jpa:
hibernate: