I am having issues getting SLF4J logging working in an existing war. It looks
like TomEE is ignoring the delegate configuration for SLF4J classes. Am I
missing something in my configuration? I would have expected TomEE to load the
SLF4J binder from the war when configured in this manner.
context.xml
<?xml version="1.0" encoding="UTF-8"?>
<Context >
<Loader delegate="false" />
</Context>
SLF4J: The requested version 1.6 by your slf4j binding is not compatible with
[1.5.5, 1.5.6, 1.5.7, 1.5.8, 1.5.9, 1.5.10]
SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/Users/tstevens/Downloads/apache-tomee-plus-1.6.1-SNAPSHOT/lib/slf4j-jdk14-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/Users/tstevens/Downloads/apache-tomee-plus-1.6.1-SNAPSHOT/webapps/cas/WEB-INF/lib/slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
Trevor Stevens
[email protected]