cancel
Showing results for 
Search instead for 
Did you mean: 

logging impl problem

javacorner
Champ in-the-making
Champ in-the-making
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 ?
1 REPLY 1

trademak
Star Contributor
Star Contributor
Hi,

You can't use multiple output bindings for SLF4J. So if you remove JDK14, Log4J will be used for logging.

Best regards,
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.