将不必要的日志打印级别修改了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 @Override
public void run() { public void run() {
logger.info("进入获取动态航班消息..."); logger.debug("进入获取动态航班消息...");
//获取上次的beginId //获取上次的beginId
Integer beginIdInt = (Integer)redisService.get(RedisKeyConstant.KEY_LASTBEGINID); Integer beginIdInt = (Integer)redisService.get(RedisKeyConstant.KEY_LASTBEGINID);
Long beginId = beginIdInt.longValue(); Long beginId = beginIdInt.longValue();
logger.info("从上次获取的消息位置{}开始",beginId); logger.debug("从上次获取的消息位置{}开始",beginId);
//获取航班动态消息 //获取航班动态消息
List<Cminmsg> lsCminmsgs = cminmsgService.getNewMsgsAfterId(beginId); List<Cminmsg> lsCminmsgs = cminmsgService.getNewMsgsAfterId(beginId);
if(null == lsCminmsgs || lsCminmsgs.size() <= 0) if(null == lsCminmsgs || lsCminmsgs.size() <= 0)
{ {
logger.info("本周期没有获取到最新消息,直接退出本次循环"); logger.debug("本周期没有获取到最新消息,直接退出本次循环");
return; return;
} }
@@ -59,6 +59,6 @@ public class MsgExchangeRunner implements Runnable{
}//end for }//end for
logger.info("本次定时获取新消息完成..."); logger.debug("本次定时获取新消息完成...");
}//end run }//end run
} }
@@ -50,7 +50,7 @@ public class SchdWaitRunner implements Runnable {
while (isRun) { while (isRun) {
tryTimes++; tryTimes++;
logger.info("尝试第{}次获取返回日计划消息",tryTimes); logger.debug("尝试第{}次获取返回日计划消息",tryTimes);
//获取 //获取
Date waitSchdDate = (Date) redisService.get(RedisKeyConstant.KEY_WAITSCHDDATE); Date waitSchdDate = (Date) redisService.get(RedisKeyConstant.KEY_WAITSCHDDATE);