From ab571e1dc6e64ae4b3927d5aa41904e6d0f3a81b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=80=E6=BA=90=E6=B5=B7=E5=93=A5?= Date: Sat, 11 Mar 2023 11:31:11 +0800 Subject: [PATCH] FlexConfiguration remove default log config --- .../com/mybatisflex/core/mybatis/FlexConfiguration.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/mybatis/FlexConfiguration.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/mybatis/FlexConfiguration.java index 220bcbee..6c5e368a 100644 --- a/mybatis-flex-core/src/main/java/com/mybatisflex/core/mybatis/FlexConfiguration.java +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/mybatis/FlexConfiguration.java @@ -19,8 +19,8 @@ import com.mybatisflex.core.FlexConsts; import com.mybatisflex.core.key.MultiEntityKeyGenerator; import com.mybatisflex.core.key.MultiRowKeyGenerator; import com.mybatisflex.core.key.MybatisKeyGeneratorUtil; -import com.mybatisflex.core.row.RowMapper; import com.mybatisflex.core.key.RowKeyGenerator; +import com.mybatisflex.core.row.RowMapper; import com.mybatisflex.core.table.TableInfo; import com.mybatisflex.core.table.TableInfos; import com.mybatisflex.core.util.CollectionUtil; @@ -31,7 +31,6 @@ import org.apache.ibatis.executor.keygen.NoKeyGenerator; import org.apache.ibatis.executor.keygen.SelectKeyGenerator; import org.apache.ibatis.executor.parameter.ParameterHandler; import org.apache.ibatis.executor.statement.StatementHandler; -import org.apache.ibatis.logging.stdout.StdOutImpl; import org.apache.ibatis.mapping.BoundSql; import org.apache.ibatis.mapping.Environment; import org.apache.ibatis.mapping.MappedStatement; @@ -48,12 +47,12 @@ public class FlexConfiguration extends Configuration { public FlexConfiguration(Environment environment) { super(environment); setMapUnderscoreToCamelCase(true); - setLogImpl(StdOutImpl.class); +// setLogImpl(StdOutImpl.class); initDefaultMappers(); } public FlexConfiguration() { - setLogImpl(StdOutImpl.class); +// setLogImpl(StdOutImpl.class); initDefaultMappers(); }