[logback-dev] [JIRA] Commented: (LBCLASSIC-207) LoggingEventVO is using a simply toString during serialization, fumbling with arrays.
Joern Huxhorn (JIRA)
noreply-jira at qos.ch
Thu May 6 15:02:16 CEST 2010
[ http://jira.qos.ch/browse/LBCLASSIC-207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11740#action_11740 ]
Joern Huxhorn commented on LBCLASSIC-207:
-----------------------------------------
Oh, I see.
The SMTPAppender-Hang is discussed in LBGENERAL-33 and LBCLASSIC-112.
I was pretty sure that this was fixed in the meantime...
> 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
> Attachments: LoggingEventVOSerializationTest.java
>
>
> 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