You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Sinkinson,Andrew [NCR]" <An...@ec.gc.ca> on 2004/08/31 16:29:09 UTC

Access Log Valve

   Hi,
  I have enabled access logging by uncomment the Access Log Valve in the
server.xml file.  I have added the resolveHosts attribute and set it to
true.  I have also changed the pattern attribute to %h so that I can
just get the  Remote host name in the log file.  In the access log file
I only get an ip address per request.  Any ideas on why I am not able to
resolve host names?
Thanks,
Andrew




Re: Access Log Valve

Posted by QM <qm...@brandxdev.net>.
On Tue, Aug 31, 2004 at 10:29:09AM -0400, Sinkinson,Andrew [NCR] wrote:
: Reply-To: "Tomcat Users List" <to...@jakarta.apache.org>
:   I have enabled access logging by uncomment the Access Log Valve in the
: server.xml file.  I have added the resolveHosts attribute and set it to
: true.  I have also changed the pattern attribute to %h so that I can
: just get the  Remote host name in the log file.  In the access log file
: I only get an ip address per request.  Any ideas on why I am not able to
: resolve host names?

Just one -- perhaps the IPs in question do not resolve to hostnames.

Put another way, those IPs may not be resolvable from the Tomcat host.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org