0 Replies Latest reply on May 11, 2005 3:51 PM by floorflux

    AccessLogValve -- resolveHosts

    floorflux

      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" />
      


      Unfortunately, the resolveHosts="true" seems to have no affect, as I am still left with only the IP addresses.

      Is this the proper configuration to accomplish this task? Are there any other system requirements for this functionality to work? I have not been able to find very much documentation for anything other than default configurations for the AccessLogValve.

      Thanks

      Jeremy