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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In