How do I log HTTP requests and responses in JWS tomcat 7.x/8.x/9.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) 5.x
    • tomcat9
  • Red Hat JBoss Web Server (JWS) 3.x
    • tomcat7
    • tomcat8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content