http://bugzilla.slf4j.org/show_bug.cgi?id=240
Summary: Log4jLoggerAdapter.log(...) ignores argument array
Product: SLF4J
Version: 1.6.x
Platform: PC
OS/Version: Linux
Status: NEW
Severity: blocker
Priority: P1
Component: Implementations
AssignedTo: [email protected]
ReportedBy: [email protected]
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 !
--
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
slf4j-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/slf4j-dev