How do I log HTTP requests and responses in JWS tomcat 7.x/8.x?

Solution Verified - Updated -

Issue

  • How do I log HTTP requests and responses in JWS tomcat 7.x/8.x?
  • How to enable RequestDumperValve in JWS tomcat 7.x/8.x?

Environment

  • Red Hat JBoss Web Server (JWS) 3
    • tomcat7
    • tomcat8
  • Red Hat Enterprise Web Server (EWS) 2
    • tomcat7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In