On Thu, Aug 12, 2004 at 10:19:55PM +0100, James H wrote:
: I have installed Tomcat 5 recently, and it's not producing access logs. I have the
: 
:         <Valve className="org.apache.catalina.valves.AccessLogValve"
:                  directory="logs"  prefix="localhost_access_log." suffix=".txt"
:                  pattern="common" resolveHosts="false"/>
: 
: but in my server.xml file, but there are no access logs produced anywhere (only 
localhost logs).
: 
: I don't know much about Tomcat, so maybe I'm missing something obvious. Does anyone 
have any ideas?

Check <Context> tags for the "override" attr, and confirm that <Valve>
is in the right part of server.xml. (IIRC it can be in a few places, but
not all ;)

For the archives: if your Valve is defined in context.xml inside a WAR
file, be sure to check the deployed XML file in
        {tomcat}/conf/{engine}/{host}/{context}.xml

(or remove it, to force Tomcat to reload the WAR files context.xml.

-QM


-- 

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


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

Reply via email to