Spring MVC: easiest way to see incoming requests

Posted by flybywire on Stack Overflow See other posts from Stack Overflow or by flybywire
Published on 2010-05-04T08:54:33Z Indexed on 2010/05/04 8:58 UTC
Read the original article Hit count: 157

Filed under:
|
|
|
|

I am debugging a Spring MVC (3.0) app, deployed on tomcat.

I want to see in my console or log files all the incoming requests. Including 404s, both generated by my app or by spring because it didn't find an appropriate controller. I'd like to see something like this:

GET /index.html
GET /img/logo.png
GET /js/a.js
GET /style/b.css
POST /ajax/dothis?blah=yes
POST /ajax/dothat?foo=np
GET /nextpage.html
...

What is the easiest way to see that.

© Stack Overflow or respective owner

Related posts about java

Related posts about tomcat