How to collect number of byte received by the server on HTTP requests in JBoss access logging

Solution Unverified - Updated -

Issue

Is it possible to customize the access log format of JBoss EAP 6 to log number of byte received by the server on the HTTP requests?

I saw this article to enable access logging for JBoss EAP 6.x but there's no pattern for number of byte received.

The following CLI can show bytesReceived, which is total number of byte received by the connector. But this is not number of byte received by the server on each HTTP request.

/subsystem=web/connector=http:read-resource(include-runtime=true)

Environment

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

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.