Authored by qinchao

日志打印

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