mpwong852 opened a new issue, #2868:
URL: https://github.com/apache/logging-log4j2/issues/2868
Before I only use below "dependencies"
```
[INFO] +- org.apache.logging.log4j:log4j-core:jar:2.20.0:compile
[INFO] \- org.apache.logging.log4j:log4j-1.2-api:jar:2.20.0:compile
[INFO] \- org.apache.logging.log4j:log4j-api:jar:2.20.0:compile
```
It doesn't show me "ERROR StatusLogger Unrecognized format specifier [d]"
After I update to "**2.21.0**", it start show me "ERROR StatusLogger
Unrecognized format specifier [d]"
```
ERROR StatusLogger Unrecognized format specifier [d]
ERROR StatusLogger Unrecognized conversion specifier [d] starting at
position 16 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [thread]
ERROR StatusLogger Unrecognized conversion specifier [thread] starting at
position 25 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [level]
ERROR StatusLogger Unrecognized conversion specifier [level] starting at
position 35 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [logger]
ERROR StatusLogger Unrecognized conversion specifier [logger] starting at
position 47 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [msg]
ERROR StatusLogger Unrecognized conversion specifier [msg] starting at
position 54 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [n]
ERROR StatusLogger Unrecognized conversion specifier [n] starting at
position 56 in conversion pattern.
```
To fix this, I need to use plugin to merges Log4j2Plugins.dat plugin caches
from all the jars containing Log4j 2.x Core components.
ref :
https://logging.apache.org/log4j/transform/latest/#log4j-plugin-cache-transformer
I have already apply this solution on 2.21.0 to solve my problems.
**The question is why I need to use plugin to fix this issue ? What is the
change in 2.21.0 causing Log4j2Plugins.dat have problems ? Any solution for me
not using that plugin ?**
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]