You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by totalrecall <we...@yahoo.com.hk> on 2008/01/03 08:30:59 UTC

[tomcat 5.5] logger configuration in context.xml

I would like to have separate log for each context, like I have done in
tomcat5.  But similar configuration doesn't seem to work under tomcat 5.5?

Is there a new syntax for the Logger tag?


<Context docBase="." swallowOutput="true">
  <Logger className="org.apache.catalina.logger.FileLogger"
              prefix="context1.log."
              suffix=".web3.txt"
              directory="/usr/local/tomcat5.5/logs" />
</Context>
-- 
View this message in context: http://www.nabble.com/-tomcat-5.5--logger-configuration-in-context.xml-tp14593006p14593006.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: [tomcat 5.5] logger configuration in context.xml

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: totalrecall [mailto:wezeweb@yahoo.com.hk] 
> Subject: [tomcat 5.5] logger configuration in context.xml
> 
> Is there a new syntax for the Logger tag?

There is no <Logger> tag in 5.5.  RTFM:
http://tomcat.apache.org/tomcat-5.5-doc/logging.html

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org