How to log which node handled a request from httpd?

Solution Verified - Updated -

Issue

  • We use an httpd balancer in front of JBoss. How can we log in the httpd access logs which JBoss node served the request?

Environment

  • Red Hat Enterprise Linux (RHEL)
  • Red Hat Software Collections (RHSCL)
  • Red Hat JBoss Core Services (JBCS)
  • JBoss Enterprise Web Server (EWS)
  • Apache Web Server (HTTPD)
    • mod_cluster
    • mod_proxy
    • mod_jk

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