Turned out to be easier than I expected.
In case anybody is interested, I did this:

LogFormat "%t \"%m %U\" %>s Sz %B BR %I BS %O TMSec %D TSec %T Bal
%{BALANCER_NAME}e WRt %{BALANCER_WORKER_ROUTE}e PID %{pid}P TID %{tid}P
UID %{UNIQUE_ID}e VHost %v" combined-tomcat
CustomLog logs/proxy-tomcat.log combined-tomcat
env=BALANCER_WORKER_ROUTE

Tailor it to your needs. 

-Tony
---------------------------
Manager, IT Operations
Format Dynamics, Inc.
P: 303-228-7327
F: 303-228-7305
abia...@formatdynamics.com
http://www.formatdynamics.com

> -----Original Message-----
> From: Anthony J. Biacco [mailto:abia...@formatdynamics.com]
> Sent: Thursday, April 14, 2011 8:19 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] mod_jk type log for mod_proxy_balancer?
> 
> I'm testing out mod_proxy_ajp/balancer as a possible replacement for
my
> mod_jk infrastructure. Apache 2.2.17 on CentOS.
> So far the only major hurdle I have is to create a separate mod_jk
type
> log of requests that are being proxied.
> Has anyone done this?
> I thought maybe I can do this with the exported environmental
variables
> from the module. Keep in mind my proxied URLs are only proxied when
> they're not in apache's mem/disk cache, so I would probably need to
base
> it on the URI and whether the route environmental variable is set.
> If someone has done this, would you mind sharing your config?
> 
> Thanks,
> 
> -Tony
> ---------------------------
> Manager, IT Operations
> Format Dynamics, Inc.
> P: 303-228-7327
> F: 303-228-7305
> abia...@formatdynamics.com
> http://www.formatdynamics.com
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>    "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to