AnsweredAssumed Answered

logging impl problem

Question asked by javacorner on Mar 29, 2015
Latest reply on Mar 29, 2015 by trademak
I'm using StandaloneProcessEngineConfiguration to call aciviti in my enterprise application which is deployed at WAS=web sphere application server.

I have in class path the following jars
slf4j-jdk14-1.6.4.jar
mybatis-3.2.5.jar
slf4j-log4j12-1.7.6.jar


now I want to  configure the logging of the application

when I run the application I got the following :


[3/29/15 14:52:20:179 AST] 00000047 SystemErr     R SLF4J: Class path contains multiple SLF4J bindings.
[3/29/15 14:52:20:180 AST] 00000047 SystemErr     R SLF4J: Found binding in [wsjar:file:/C:/Users/mmmahmoud/85/cb80/WebContent/WEB-INF/lib/slf4j-jdk14-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[3/29/15 14:52:20:180 AST] 00000047 SystemErr     R SLF4J: Found binding in [wsjar:file:/C:/Users/mmmahmoud/85/cb80/WebContent/WEB-INF/lib/slf4j-log4j12-1.7.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[3/29/15 14:52:20:180 AST] 00000047 SystemErr     R SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
[3/29/15 14:52:20:182 AST] 00000047 SystemErr     R SLF4J: Actual binding is of type [org.slf4j.impl.JDK14LoggerFactory]


-when I remove slf4j-jdk14-1.6.4.jar from class path :
the logging is printed in sysout and system error.
I need to know which logger is running in that case ?
is it log4j or other ?

Outcomes