You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Lorenzo Jiménez <lj...@nacion.co.cr> on 2005/05/10 22:24:55 UTC

Why does this Log is not created?

Hi,

Thanks for reading this. I need to know why my Tomcat 5.0.28 (RedHat 9) is not logging.


In my server.xml I have 2 domains:

<Engine defaultHost="111.111.111.111" name="Catalina">

<Host appBase="webapps" name="domain1.com" debug="0">
	<Logger className="org.apache.catalina.logger.FileLogger" 
		directory="logs/domain1/global" 
		prefix="web_domain1." 
		suffix=".log" 
		timestamp="true" />
	<Context path="" docBase="ROOT" debug="0"/>
</Host>

<Host appBase="webapps2" name="domain2.com" debug="0">
	<Logger className="org.apache.catalina.logger.FileLogger" 
		directory="logs/domain2/global" 
		prefix="web_domain2."
		suffix=".log"
		timestamp="true" />
	<Context path="" docBase="ROOT" debug="0"/>
</Host>

--------------------------------------------------

The problem is that Tomcat do not create domain2 and domain2/global directories in logs, and also web_domain2...log files, but the application and domain2 is working ok.

Why is that?

Thanks,

Lorenzo Jiménez



-------------------------------------------------------------

Si usted no es el destinatario indicado en este mensaje o responsable como persona 
de la entrega del mensaje, no debe copiar o reenviar este mensaje, por favor notifique 
al correo infosegura@nacion.com. Para más referencia sobre términos importantes 
relacionados a este correo visite http://www.nacion.com/disclaimer/index_es2.htm

If you are not the addressee indicated in this message (or responsible for delivery of the 
message to such person), you may not copy or send this message to anyone, please notify
to infosegura@nacion.com. Click here for important additional terms relating to this e-mail. 
<http://www.nacion.com/disclaimer/index_en2.htm>

-------------------------------------------------------------



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