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
_______________________________________________
logback-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-dev