[logback-dev] [JIRA] Commented: (LBCLASSIC-207) LoggingEventVO is using a simply toString during serialization, fumbling with arrays.
Ceki Gulcu (JIRA)
noreply-jira at qos.ch
Thu May 6 10:05:16 CEST 2010
[ http://jira.qos.ch/browse/LBCLASSIC-207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11738#action_11738 ]
Ceki Gulcu commented on LBCLASSIC-207:
--------------------------------------
Hello Joern,
A test case would helpful.
> LoggingEventVO is using a simply toString during serialization, fumbling with arrays.
> -------------------------------------------------------------------------------------
>
> Key: LBCLASSIC-207
> URL: http://jira.qos.ch/browse/LBCLASSIC-207
> Project: logback-classic
> Issue Type: Bug
> Components: appender
> Affects Versions: 0.9.20
> Reporter: Joern Huxhorn
> Assignee: Logback dev list
>
> Any array used as parameter shows up unreadable.
> It should instead use the same toString logic used by MessageFormatter.
> I'd have submitted a patch/branch for this issue but - unfortunately - SLF4J MessageFormatter does not have a method that's performing just the String conversion.
> Please see
> http://github.com/huxi/lilith/blob/master/lilith-data/logging/src/main/java/de/huxhorn/lilith/data/logging/MessageFormatter.java
> especially the method
> String deepToString(Object o)
> Because of this, a fix (providing and using said method) would span over both SLF4J and Logback.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the logback-dev
mailing list