Details
-
Bug
-
Resolution: Unresolved
-
None
-
1.6.x
-
None
-
Operating System: Linux
Platform: PC
-
blocker
-
P1
-
240
Description
The implementation of
Log4jLoggerAdapter.log(Marker marker, String callerFQCN, int level, String msg, Object[] argArray, Throwable t)
seems to assume that the the "msg" parameter is the formatted message, not the format string. The same class, however, contains other methods that perform correct formatting of the format string.
Therefore, either a clarification in the javadocs of LocationAwareLogger is needed to specify that the "msg" parameter must already be the formatted message, or the implementation in Log4jLoggerAdapter is missing the formatting step.
Thanks !