You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by pk...@apache.org on 2026/09/29 18:17:22 UTC

(logging-log4j2) branch feat/2.x/log-event-proxy-wrapped-message updated (084309a4a2 -> b1491d70d9)

This is an automated email from the ASF dual-hosted git repository.

ppkarwasz pushed a change to branch feat/2.x/log-event-proxy-wrapped-message
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


    from 084309a4a2 Serialize the LogEvent message delegate through the filtered wrapper
     add e1b8e13d68 Remove `MarshalledObject` from the documented allowlist and test filter
     add b1491d70d9 Fall back to a serializable value for unserializable objects

No new revisions were added by this update.

Summary of changes:
 .../logging/log4j/test/UnserializableMessage.java  | 39 +++++++++++++---------
 .../logging/log4j/message/ObjectMessageTest.java   |  2 ++
 .../log4j/message/ParameterizedMessageTest.java    |  2 ++
 .../log4j/util/SortedArrayStringMapTest.java       |  9 +++--
 .../logging/log4j/message/ObjectMessage.java       |  4 +--
 .../log4j/message/ParameterizedMessage.java        |  4 +--
 .../log4j/util/FilteredObjectInputStream.java      |  1 -
 .../logging/log4j/util/SortedArrayStringMap.java   |  5 ++-
 .../log4j/util/internal/SerializationUtil.java     | 31 +++++++++++++++--
 log4j-core-test/pom.xml                            |  2 +-
 .../logging/log4j/core/impl/Log4jLogEventTest.java | 16 +++++++++
 .../logging/log4j/core/impl/Log4jLogEvent.java     |  3 +-
 12 files changed, 85 insertions(+), 33 deletions(-)
 copy log4j-1.2-api/src/main/java/org/apache/log4j/RenderedMessage.java => log4j-api-test/src/main/java/org/apache/logging/log4j/test/UnserializableMessage.java (56%)