httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <>
Subject [users@httpd] Re: Backend host/port in the log
Date Wed, 17 Jun 2009 13:21:24 GMT

arungupta wrote:
> Configured mod_proxy_balancer for front-ending a bunch of GlassFish
> instances. How do I print the backend host/port in the log ?

In general, Apache environment variables (distinct from OS environment
variables) are logged via %{envvar-name}e.  The special environment
variables created by the balancer are documented at 
BALANCER_WORKER_NAME seems to be the one you want:


    This is assigned the name of the worker used for the current request.
The value is something like http://hostA:1234.

View this message in context:
Sent from the Apache HTTP Server - Users mailing list archive at

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message