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

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

        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development