How do I log HTTP requests and responses in JBoss?

Solution Verified - Updated -

Issue

  • How can I configure JBoss to log the http request headers the servlet container is seeing ?
  • How can I view detailed request / responses in JBoss?
  • What are some side-effects of enabling the RequestDumperValve?
  • How to setup http logging for only one EAR application?
  • How can I configure my logging to see HTTP header values?
  • How to enable the RequestDumperValve in EAP 5?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 4.x
    • 5.x
    • 6.x
    • 7.x

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