[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 13 04:56:14 CET 2008


------- Comment #13 from noreply.ceki at qos.ch  2008-03-13 04:56 -------

Points well taken. I did not wish to transform the arguments in the
array to string because (local) filters might perfom processing on the
event depending on the values (and type) found in the argument array.
This may sound a bit far fetched at this time but I did not want to
close this option for the future.

Your argument regarding the string size makes sense, although 64K+
strings is not something that will occur often. Anyway, how about if
the String was serialized via writeObject instead of writeUTF. More generally, 
I would like to support the serialization of certain types without conversion
to string, for example:

- primitive types
- Map<String, String>
- List<String>


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