Authored by qinchao

日志打印

@@ -44,15 +44,15 @@ public class SingleTask implements Runnable { @@ -44,15 +44,15 @@ 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.debug("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())){ 50 if("app_collect_sample".equals(taskModel.getDatabase())){
51 - logger.debug("execute app_collect_sample resultList is :"+ resultList); 51 + logger.error("execute app_collect_sample resultList is :" + resultList);
52 } 52 }
53 Map<String, List<List<Map<String, Object>>>> result = resultList.get(0); 53 Map<String, List<List<Map<String, Object>>>> result = resultList.get(0);
54 if("app_collect_sample".equals(taskModel.getDatabase())){ 54 if("app_collect_sample".equals(taskModel.getDatabase())){
55 - logger.debug("end execute app_collect_sample result is :"+ result); 55 + logger.error("end execute app_collect_sample result is :" + result);
56 } 56 }
57 Map<String,Boolean> exceptionMap= resultList.get(1); 57 Map<String,Boolean> exceptionMap= resultList.get(1);
58 if(exceptionMap!=null&&exceptionMap.size()>0){ 58 if(exceptionMap!=null&&exceptionMap.size()>0){