[logback-dev] [Bug 100] Serialization of objectArray in LoggingEvent does not always work

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Thu Mar 20 18:01:41 CET 2008


http://bugzilla.qos.ch/show_bug.cgi?id=100





------- Comment #18 from joern at huxhorn.de  2008-03-20 18:01 -------
I'm fine with the writeObject fix of this specific problem.

I still think that it would be a bad idea to use arguments beyond message
formatting because it reduces the stability of the logging framework (as I
explained above) and would also be undocumented behavior based on the slf4j
api.

It would mean that other implementations of slf4j would definitely behave
differently compared to logback, which shouldn't be the case, IMHO. So any
additional behavior should probably also be done in slf4j (as is the case with
message formatting right now) so all implementations have the chance to
implement a similar functionality (like my Throwable suggestion at
http://bugzilla.slf4j.org/show_bug.cgi?id=70 - all implementations could use
that additional feature).

I hope I don't annoy you with my persistence...


-- 
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