mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 04:02:09 +08:00
fix: 优化日志。for 内的info日志打印,应当受到 sqlLogEnabled 的控制
Signed-off-by: wkclz <wkclz@qq.com>
This commit is contained in:
@@ -176,11 +176,12 @@ public class LiteFlowJdbcUtil {
|
||||
if (checkConnectionCanExecuteSql(dataSource.getConnection(), executeSql)) {
|
||||
// 找到数据源名称后,将其缓存起来,下次使用就不再寻找
|
||||
DataSourceBeanNameHolder.init(dataSourceName);
|
||||
|
||||
LOG.info("use dataSourceName[{}],has found liteflow config", dataSourceName);
|
||||
if (sqlParserVO.getSqlLogEnabled()) {
|
||||
LOG.info("use dataSourceName[{}],has found liteflow config", dataSourceName);
|
||||
}
|
||||
break;
|
||||
} else {
|
||||
LOG.info("check dataSourceName[{}],but not has liteflow config", dataSourceName);
|
||||
LOG.warn("check dataSourceName[{}],but not has liteflow config", dataSourceName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user