Anton created SLF4J-481: --------------------------- Summary: log4j-to-slf4j Null Throwable Key: SLF4J-481 URL: https://jira.qos.ch/browse/SLF4J-481 Project: SLF4J Issue Type: Bug Environment: log4j-to-slf4j-2.11.1 Reporter: Anton Assignee: SLF4J developers list Priority: Minor
In org.apache.logging.slf4j.SLF4JLogger.logMessage(...) Throwable t is passed to underlying SLF4J Logger implementation even if it is null, which causes the following method signature to apply, which is wrong: {code:java} Logger.trace(Marker marker, String format, Object arg1, Object arg2){code} There should be a check in this method, if Throwable t argument is null, then call: {code:java} Logger.trace(Marker marker, String format, Object arg){code} -- This message was sent by Atlassian JIRA (v7.3.1#73012) _______________________________________________ slf4j-dev mailing list slf4j-dev@qos.ch http://mailman.qos.ch/mailman/listinfo/slf4j-dev