DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5319>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5319

AccessLogValve does not resolve hostname

           Summary: AccessLogValve does not resolve hostname
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I cannot get the hostname in the access log created by the AccessLogValve. It
always logs the IP address. The client in question does have a valid DNS
name and DNS is working properly on my machine as 
        InetAddress.getByName(req.getRemoteAddr()).getHostName()
will give the correct DNS name every time.

I have set enableLookups="true" on the Connector and resolveHosts="true" on
the AccessLogValve.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to