Logging which backend jboss mod_proxy_cluster hits are going to

Put this in your apache config if you are using JBoss & mod_proxy_cluster and want to log which backend JBoss member server your hits are going to:

LogFormat "%h %l %u %t \"%r\" %>s %b %{BALANCER_WORKER_NAME}e" commonbackend
CustomLog /var/log/httpd/httpd.log commonbackend

Leave a Reply

Your email address will not be published. Required fields are marked *