logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <ralph.go...@dslextreme.com>
Subject Re: Dispatcher logs not going to log4j
Date Mon, 21 Dec 2015 20:27:41 GMT
I believe this error is coming from Tomcat, not Spring.  You would need to modify Tomcat to
route its logs through Log4j to get it.


> On Dec 21, 2015, at 12:30 PM, Karl D. Kelley Jr. <karl.kelley.jr@gmail.com> wrote:
> Logging from org.springframework.web.servlet.DispatcherServlet is not going
> to log4j. Scratching  my head on this one.
> I get an error:
> org.apache.catalina.core.StandardWrapperValue invoke
> SEVERE: Servlet.service() for servlet [mvc-dispatcher] in context with path
> ......
> Basically I would have expected this to be logged through log4j, but it was
> not logged in log4j. I have setup my web.xml according to
> https://logging.apache.org/log4j/2.x/manual/webapp.html#Servlet-2.5
> Do I need to do something in the tomcat7 configuration to make this error
> show up in the log4j logs?
> I ask because I have an appender that would send me the error so I can
> investigate, but I never got the error....
> Thanks for any help,
> Karl

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message