Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot apply changes a logging implementation at some class #1272
3.4.6 (Probably all versions)
Database vendor and version
Test case or example project
Steps to reproduce
sqlSessionFactory.getConfiguration().setAutoMappingUnknownColumnBehavior(AutoMappingUnknownColumnBehavior.WARNING); sqlSessionFactory.getConfiguration().setLogImpl(Jdk14LoggingImpl.class); // Change to JDK14
Output a log using the logger of JDK14(via specified log implementation).
But output a log using the logger of SLF4J(In my application, SLF4J's provider is log4j). this changes cannot apply to some class.
In this current implementation, the logger initialization has been performed before applying a logger configuration.
Loggers of these classes has been initialized before applying logger configuration because the