Is there any information in the other logs about this not starting?

-Tim

James H wrote:
There are no <Context> tags. Are we getting warmer?

----- Original Message ----- From: "QM" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, August 12, 2004 11:25 PM
Subject: Re: No access logs!




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]





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



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



Reply via email to