http://bugzilla.qos.ch/show_bug.cgi?id=100
Summary: Serialization of objectArray in LoggingEvent does not
always work
Product: logback-classic
Version: unspecified
Platform: PC
URL: http://www.qos.ch/pipermail/logback-dev/2007-
September/002169.html
OS/Version: Other
Status: NEW
Severity: major
Priority: P1
Component: Other
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
I think this is happening:
* Logback is sending a serialized LoggingEvent over the socket
* the LoggingEvent has a reference to the foo.bar.Car instance
* the Eclipse plugin receives the bytes over the wire and tries to
deserialize the LoggingEvent, this fails because the foo.bar.Car class
is not on the classpath.
Resolution: I think the SocketAppender should only send the formattedMessage
over the wire and not the argumentArray.
In other words: argumentArray should be declared transient.
Let's see what the LogBack developers think about that ...
--
Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
logback-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-dev