将不必要的日志打印级别修改了debug

This commit is contained in:
zhouxiunai
2018-12-10 15:44:50 +08:00
parent e72e9183fd
commit 0fcc214ab1
2 changed files with 5 additions and 5 deletions
@@ -33,20 +33,20 @@ public class MsgExchangeRunner implements Runnable{
@Override
public void run() {
logger.info("进入获取动态航班消息...");
logger.debug("进入获取动态航班消息...");
//获取上次的beginId
Integer beginIdInt = (Integer)redisService.get(RedisKeyConstant.KEY_LASTBEGINID);
Long beginId = beginIdInt.longValue();
logger.info("从上次获取的消息位置{}开始",beginId);
logger.debug("从上次获取的消息位置{}开始",beginId);
//获取航班动态消息
List<Cminmsg> lsCminmsgs = cminmsgService.getNewMsgsAfterId(beginId);
if(null == lsCminmsgs || lsCminmsgs.size() <= 0)
{
logger.info("本周期没有获取到最新消息,直接退出本次循环");
logger.debug("本周期没有获取到最新消息,直接退出本次循环");
return;
}
@@ -59,6 +59,6 @@ public class MsgExchangeRunner implements Runnable{
}//end for
logger.info("本次定时获取新消息完成...");
logger.debug("本次定时获取新消息完成...");
}//end run
}