[ 
http://issues.ops4j.org/jira/browse/PAXLOGGING-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_11022
 ] 

Niclas Hedhman commented on PAXLOGGING-21:
------------------------------------------

The methods that takes Object[] as input does not pass to the 
MessageFormatter.arrayFormat().

Adding testcase as well.

> Malformed log messages with slf4j
> ---------------------------------
>
>                 Key: PAXLOGGING-21
>                 URL: http://issues.ops4j.org/jira/browse/PAXLOGGING-21
>             Project: Pax Logging
>          Issue Type: Bug
>    Affects Versions: 1.0-RC1
>            Reporter: Mathieu Baril
>            Assignee: Niclas Hedhman
>
> Hi,
> Log messages are not correctly formatted when the log functions of an slf4j 
> logger is called with an Object array.
> Ex:
> void debug(String format, Object[] argArray)
> logger.log("My message with 3 parameters : {}, {}, {}", new 
> Object[]{"1","2","3"});
> Same issue with other log levels. I observed the same behavior with 1.0-RC2.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to