Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9071539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T17:56:37+00:00 2026-06-16T17:56:37+00:00

Is there a way to log HTTP post data in JBoss 7.1.1? Is there

  • 0

Is there a way to log HTTP post data in JBoss 7.1.1?

Is there a class you set to DEBUG in the logging configuration that will output this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T17:56:37+00:00Added an answer on June 16, 2026 at 5:56 pm

    You can configure http access logging in the web subsystem of standlone.xml or domain.xml files.

    Here is an example:

    <subsystem xmlns="urn:jboss:domain:web:1.0" ....>
        <connector name="http" ... />
        <virtual-server name="default-host" enable-welcome-root="true">
            <whatever aliases you may have defined />
            <access-log>
                <directory relative-to="jboss.server.log.dir"/>
            </access-log>
        </virtual-server>
    </subsystem>
    

    or you can use the CLI (recommended – use the tab complete feature to find out available attributes):

    /subsystem=web/virtual-server=default-host/access-log=configuration:add(whatever-attributes-you-want-for-access-log)
    

    UPDATE based on the comment from OP below

    If you want to track the HTTP request content then you will need to enable RequestDumperValve. In JBossAS7 you can not enable this globally (unlike AS5 or AS6)/. You have to enable it on a per deployment basis. Add this line in WEB-INF\jboss-web.xml file:

    <valve>
            <class-name>org.apache.catalina.valves.RequestDumperValve</class-name>
    </valve>
    

    You do not need the access log enabled for the valves, it will output the info in the server.log file. You can read more about RequestDumperValve. You may also be interested in RequestFilterValve.

    These valves are generally used for debugging purposes though and not in production usage. So do keep that in mind as they are quite verbose. Alternatively you can look at tools like WireShark or Fiddler. If you really want to dig even deeper TCPDumps would be the way to go (word of caution – they are quite big and complicated to analyze).

    Hope this helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way to log the post request data in ELMAH? I am
Is there a way to log the commands, make invokes to compile a program?
Is there a way to log all of the clicks in a Win Forms
Using servlet 2.3 is there a way to log a user out when he
I wanted to know if there is way to log the mysql queries in
Is there an easy way to log PHP errors to a log for a
Is there an easy way to log all exceptions in an ASP.NET application? I'm
Is there any way I can log a Wordpress user in given only their
Is there any way to provide user log-in without the need for a DB.
Is there any way in MySQL to only log deletes? I tried using the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.