I am trying to add host names into the access logs of one particular virtual host my Jboss Server is running. I am running JBoss4.0.1sp1 and I have added the following into the server.xml file under the appropriate host tag:
<Valve className="org.apache.catalina.valves.AccessLogValve" prefix="hostname_access_log." suffix=".log" pattern="common" directory="${jboss.server.home.dir}/log" resolveHosts="true" />