I couldn’t find the way to configure my dummy tutorial Grails application to log all HTTP requests and responses accepted/generated by Grails server (actually – Tomcat). Is this possible?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Another option would be to use tomcat’s built in access logging.
http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Access_Log_Valve
Im using this myself, and it is quite configurable.
How to configure tomcat 6
Add this to the end of your server.xml config under the tag “Host”.