tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5319] New: - AccessLogValve does not resolve hostname
Date Fri, 07 Dec 2001 16:37:30 GMT
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:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message