Browse Source

when debug,show jdbc parameter log

pull/2/head
dailidong 6 years ago
parent
commit
4933bea338
  1. 4
      escheduler-api/src/main/java/cn/escheduler/api/service/DataSourceService.java

4
escheduler-api/src/main/java/cn/escheduler/api/service/DataSourceService.java

@ -480,7 +480,9 @@ public class DataSourceService extends BaseService{
}
logger.info("parameters map-----" + JSONObject.toJSONString(parameterMap));
if(logger.isDebugEnabled()){
logger.info("parameters map-----" + JSONObject.toJSONString(parameterMap));
}
return JSONObject.toJSONString(parameterMap);

Loading…
Cancel
Save