-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Cannot apply changes a logging implementation at some class #1272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
In this current implementation, the logger initialization has been performed before applying a logger configuration. For example: mybatis-3/src/main/java/org/apache/ibatis/session/AutoMappingUnknownColumnBehavior.java Line 65 in d5f024c
mybatis-3/src/main/java/org/apache/ibatis/executor/loader/javassist/JavassistProxyFactory.java Line 47 in d5f024c
Loggers of these classes has been initialized before applying logger configuration because the |
* Support the lazy initialization log * Move the log configuration timing for xml config Fixes mybatisgh-1272
* Support the lazy initialization log * Move the log configuration timing for xml config Fixes mybatisgh-1272
* Support the lazy initialization log * Move the log configuration timing for xml config Fixes mybatisgh-1272
Fix log initialization timing on some class
Fix log initialization timing on some class
MyBatis version
3.4.6 (Probably all versions)
Database vendor and version
Any
Test case or example project
None
Steps to reproduce
Expected result
Output a log using the logger of JDK14(via specified log implementation).
Actual result
But output a log using the logger of SLF4J(In my application, SLF4J's provider is log4j). this changes cannot apply to some class.
The text was updated successfully, but these errors were encountered: