File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
doma-spring-boot-autoconfigure/src
main/java/org/seasar/doma/boot/autoconfigure
test/java/org/seasar/doma/boot/autoconfigure Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public class DomaProperties {
6666 /**
6767 * Type of {@link JdbcLogger}.
6868 */
69- private JdbcLoggerType jdbcLogger = JdbcLoggerType .SLF4J ;
69+ private JdbcLoggerType jdbcLogger = JdbcLoggerType .JUL ;
7070
7171 /**
7272 * Limit for the maximum number of rows. Ignored unless this value is greater than 0.
Original file line number Diff line number Diff line change 3737import org .seasar .doma .jdbc .JdbcLogger ;
3838import org .seasar .doma .jdbc .Naming ;
3939import org .seasar .doma .jdbc .NoCacheSqlFileRepository ;
40- import org .seasar .doma .jdbc .Slf4jJdbcLogger ;
40+ import org .seasar .doma .jdbc .UtilLoggingJdbcLogger ;
4141import org .seasar .doma .jdbc .SqlFileRepository ;
4242import org .seasar .doma .jdbc .UtilLoggingJdbcLogger ;
4343import org .seasar .doma .jdbc .criteria .Entityql ;
@@ -84,7 +84,7 @@ public void testAutoRegisteredConfig() {
8484 assertThat (config .getSqlFileRepository (),
8585 is (instanceOf (GreedyCacheSqlFileRepository .class )));
8686 assertThat (config .getNaming (), is (Naming .DEFAULT ));
87- assertThat (config .getJdbcLogger (), is (instanceOf (Slf4jJdbcLogger .class )));
87+ assertThat (config .getJdbcLogger (), is (instanceOf (UtilLoggingJdbcLogger .class )));
8888 assertThat (config .getEntityListenerProvider (), is (notNullValue ()));
8989 PersistenceExceptionTranslator translator = this .context
9090 .getBean (PersistenceExceptionTranslator .class );
You can’t perform that action at this time.
0 commit comments