Authored by qinchao

日志打印

... ... @@ -44,14 +44,12 @@ public class SingleTask implements Runnable {
}
//获取数据
if("app_collect_sample".equals(taskModel.getDatabase())){
logger.error("begin execute app_collect_sample :"+taskModel.getInfluxSql());
logger.error("begin execute app_collect_sample :" + taskModel.getInfluxSql());
}
List<Map> resultList= getResultWithSql(taskModel,taskModel.getInfluxSql());
if("app_collect_sample".equals(taskModel.getDatabase())){
logger.error("execute app_collect_sample resultList is :" + resultList);
}
Map<String, List<List<Map<String, Object>>>> result = resultList.get(0);
if("app_collect_sample".equals(taskModel.getDatabase())){
logger.error("execute app_collect_sample resultList is :" + resultList);
logger.error("end execute app_collect_sample result is :" + result);
}
Map<String,Boolean> exceptionMap= resultList.get(1);
... ...