将不必要的日志打印级别修改了debug
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ public class SchdWaitRunner implements Runnable {
|
||||
|
||||
while (isRun) {
|
||||
tryTimes++;
|
||||
logger.info("尝试第{}次获取返回日计划消息",tryTimes);
|
||||
logger.debug("尝试第{}次获取返回日计划消息",tryTimes);
|
||||
|
||||
//获取
|
||||
Date waitSchdDate = (Date) redisService.get(RedisKeyConstant.KEY_WAITSCHDDATE);
|
||||
|
||||
Reference in New Issue
Block a user