Authored by qinchao

日志打印

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