We are seeing a performance hit to our server whenever we turn on AccessLogValve for a virtual host in tomcat. Is this common or has anyone else experienced this? Any suggestions on how to configure for optimal performance?
Below is the virtual host entry in server.xml - tomcat is running stand alone on a Red Hat 9 Linux box - the box is dedicated to running tomcat - there are two virtual hosts configured for the server, and only one has any real traffic.
<Host name="www.mysite.net" debug="0" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<!-- <Alias>www.mysite.net</Alias> -->
<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs" prefix="mysite.net." suffix=".txt"
timestamp="true"/>
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs/mysite.net-acesslogs"
pattern="%t %a %A %h %m %p %U"
prefix="access_log." suffix=".txt"
timestamp="true"/>
<Context path="" docBase="mysite.net/production" debug="0"/>
</Host>Thanks in advance!
Dan Barron
[EMAIL PROTECTED]
