You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2001/12/07 17:37:30 UTC

DO NOT REPLY [Bug 5319] New: - AccessLogValve does not resolve hostname

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: tomcat-dev@jakarta.apache.org
        ReportedBy: ccox@cincom.com


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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>