Log4j 2
  1. Log4j 2
  2. LOG4J2-21

LoggingEvent message lost on serialization

    Details

    • Type: Wish Wish
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-alpha1
    • Component/s: Appenders
    • Labels:
      None

      Description

      log4j bug 42023 complained that the LoggingEvent serialization did not attempt to serialize the message object, but only serialized the rendered message. Whatever serialized forms are supported in log4j 2.0 should provide the option to transmit a serialized form of the message object.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1363d 22h 58m 1 Ralph Goers 01/May/12 05:25
        Resolved Resolved Closed Closed
        71d 15h 53m 1 Ralph Goers 11/Jul/12 21:19
        Ralph Goers made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Ralph Goers added a comment -

        Closing since there have been no other comments since this was marked resolved.

        Show
        Ralph Goers added a comment - Closing since there have been no other comments since this was marked resolved.
        Ralph Goers made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Ralph Goers [ ralph.goers@dslextreme.com ]
        Fix Version/s 2.0-alpha1 [ 12320347 ]
        Resolution Fixed [ 1 ]
        Hide
        Ralph Goers added a comment -

        This is an inherent part of the Log4j 2 architecture.

        Show
        Ralph Goers added a comment - This is an inherent part of the Log4j 2 architecture.
        Hide
        Ralph Goers added a comment -

        In my experimental branch the log message is an object that implements the Message interface. Message objects extend Serializable.

        Show
        Ralph Goers added a comment - In my experimental branch the log message is an object that implements the Message interface. Message objects extend Serializable.
        Curt Arnold created issue -

          People

          • Assignee:
            Ralph Goers
            Reporter:
            Curt Arnold
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development