Hello,

I have externalized cas.properties and also log4j2.xml  under 
/etc/cas-config, as the CAS 4.1 documentation says.  I built a war overlay 
based on CAS 4.1.X and deploy to tomcat8. 

The logging works fine, but I see these error when cas.war starts up.

1.  why are the multiple SLF4J bindings?
2.  why it says it cannot find log4j2 configuration?    The logging is 
working fine otherwise.

Thx!

27-Jun-2017 14:15:22.811 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployWAR Deploying web application 
archive /opt/jboss/jws-3.0/tomcat8/webapps/cas.war
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in 
[jar:file:/opt/jboss/jws-3.0/tomcat8/webapps/cas/WEB-INF/lib/cas-server-core-4.1.9.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/opt/jboss/jws-3.0/tomcat8/webapps/cas/WEB-INF/lib/log4j-slf4j-impl-2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
explanation.
SLF4J: ILoggerFactory to be used for logging is: 
org.apache.logging.slf4j.Log4jLoggerFactory
SLF4J: Actual binding is of type [org.slf4j.impl.CasLoggerFactory]
SLF4J: The following set of substitute loggers may have been accessed
SLF4J: during the initialization phase. Logging calls during this
SLF4J: phase were not honored. However, subsequent logging calls to these
SLF4J: loggers will work as normally expected.
SLF4J: See also http://www.slf4j.org/codes.html#substituteLogger
ERROR StatusLogger No log4j2 configuration file found. Using default 
configuration: logging only errors to the console.
SLF4J: org.reflections.Reflections

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/8c7d2245-8e82-4890-b3ef-0a6e616482f8%40apereo.org.

Reply via email to