[slf4j-dev] [JIRA] (SLF4J-411) EventRecodingLogger.debug(String) logs at TRACE
QOS.CH (JIRA)
noreply-jira at qos.ch
Tue Dec 26 20:05:00 CET 2017
[ https://jira.qos.ch/browse/SLF4J-411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19051#comment-19051 ]
Doug Roper commented on SLF4J-411:
----------------------------------
Hi Ceki, I'm looking to close out my old PRs by the end of the year.
Have you had time to review [https://github.com/qos-ch/slf4j/pull/177]? EventRecodingLogger is quite useful for unit tests. Merging the bugfix would allow me remove some duplicate implementations from my own projects.
Also, it would be an honor to be contributor to something as widely used as slf4j. Thanks!
> EventRecodingLogger.debug(String) logs at TRACE
> -----------------------------------------------
>
> Key: SLF4J-411
> URL: https://jira.qos.ch/browse/SLF4J-411
> Project: SLF4J
> Issue Type: Bug
> Affects Versions: 1.8.0-alpha2
> Reporter: Doug Roper
> Assignee: Ceki Gülcü
> Priority: Minor
> Fix For: 1.7.26, 1.8.0-beta1
>
>
> [https://github.com/qos-ch/slf4j/blob/v_1.8.0-alpha2/slf4j-api/src/main/java/org/slf4j/event/EventRecodingLogger.java#L98-L100]
> {code:java}
> public void debug(String msg) {
> recordEvent(Level.TRACE, msg, null, null);
> }
> {code}
> Expected result: debug method logs at debug.
> Actual result: debug method logs at trace.
> Seems like a copy-paste bug.
--
This message was sent by Atlassian JIRA
(v7.3.1#73012)
More information about the slf4j-dev
mailing list