Also seeing: "Log4j2-TF-1-AsyncLogger[/cas]-1 WARN No log appender could be found for [file] Log4j2-TF-1-AsyncLogger[/cas]-1 WARN No log appender could be found for [auditlogfile]" in the console logs.
On Monday, February 9, 2026 at 9:42:42 AM UTC-5 Michael Santangelo wrote: > Hello all, > > Just deployed a CAS 7.3.3 to replace an antiquated 6 due to Duo support > ending for it, and got it mostly working. During startup after running > ./gradlew run (only for testing, I plan on pushing it to a Tomcat instance > in the future) we are seeing a warning in the console: > > WARN The use of package scanning to locate Log4j plugins is deprecated. > Please remove the `packages` attribute from your configuration file. > --- Which configuration file is it referring to? The log4j.xml? I am > unsure where to begin looking. > > More importantly, after leaving CAS running for the weekend I arrived > today to see error 500 all over whenever trying to access it: > HTTP Status 500 – Internal Server Error > ------------------------------ > > *Type* Exception Report > > *Message* Filter execution threw an exception > > *Description* The server encountered an unexpected condition that > prevented it from fulfilling the request. > > *Exception* > jakarta.servlet.ServletException: Filter execution threw an exception > org.apereo.cas.web.support.filters.AddResponseHeadersFilter.doFilter(AddResponseHeadersFilter.java:62) > > When I dug into the log files on the server this line kept popping up: > java.lang.classnotfoundexception > org.apache.logging.log4j.core.impl.throwableproxy > > So I think it's related to whatever log4j issue I'm getting warned about. > I just don't know enough about CAS to find the file that is generating the > warning. > > Any suggestions where I can look? > > Thanks! > -- - Website: https://apereo.github.io/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- 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 visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/b89ce8d3-7d68-435a-af64-31e46b1bd234n%40apereo.org.
