[slf4j-dev] [JIRA] Updates for SLF4J-511: DefaultLogEventBuilder causes incorrect location information to be logged

QOS.CH (JIRA) noreply-jira at qos.ch
Sat Jun 19 09:48:00 CEST 2021


SLF4J / SLF4J-511 [Resolved]
DefaultLogEventBuilder causes incorrect location information to be logged

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

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

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

Ralph Goers on 19/Jun/21 9:34 AM
This fix assumes that the user has not implemented their own logging wrapper around SLF4J as it will always result in the using the location of the caller of DefaultLogEventBuilder. Also, right now DefaultLogEventBuilder is the only caller of log(logEvent). Were that to change for some reason the logic in the log4j 1.2 adapter could be incorrect. So long as you are happy documenting those limitations in SLF4J then I can live with this.


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



More information about the slf4j-dev mailing list