[slf4j-dev] [JIRA] Updates for SLF4J-560: Clarify Logger.makeLoggingEventBuilder() method semantics

QOS.CH (JIRA) noreply-jira at qos.ch
Wed Sep 14 18:33:00 CEST 2022


SLF4J / SLF4J-560 [Resolved]
Clarify Logger.makeLoggingEventBuilder() method semantics

==============================

Here's what changed in this issue in the last few minutes.

There is 1 comment.

View or comment on issue using this link
https://jira.qos.ch/browse/SLF4J-560

==============================
 1 comment
------------------------------

Ceki Gülcü on 14/Sep/22 6:21 PM
[~pkarwasz] As the current log4j2 implementation overrides the {{atXYZ}}, the {{makeLoggingEventBuilder}} method will not be called except in the degenerate case of {{SubstituteLogger}} if there is logging occurring during initialization. 

You can keep things as is, or adapt in a subsequent release of log4j2. If you adapt, you can even skip overriding {{atXYZ()}} methods in {{org.apache.logging.slf4j.Log4jLogger}} and delegate to the default implementation.


==============================
 This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59)



More information about the slf4j-dev mailing list