Can the JBoss Access Log capture outgoing requests?

Solution In Progress - Updated -

Environment

  • JBoss Enterprise Application Platform (EAP)

Issue

  • Our JBoss application makes outgoing HTTP POST requests to another external server. Can these be captured in the JBoss access log?

Resolution

  • The outgoing request you make isn't going to go through the web subsystem, its connectors, and its access log valve.
  • You could log it through your application instead, or if you use some kind of http library to make those requests, then that library may provide some facility to log the outgoing requests you make.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments