[logback-dev] [Bug 100] New: Serialization of objectArray in LoggingEvent does not always work
bugzilla-daemon at pixie.qos.ch
bugzilla-daemon at pixie.qos.ch
Thu Sep 27 19:46:13 CEST 2007
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: logback-dev at qos.ch
ReportedBy: noreply.ceki at qos.ch
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.
More information about the logback-dev
mailing list