Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
|
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 4th, 2005, 05:53 AM
Registered User
 
Join Date: Nov 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Context Logs with Tomcat 5.0.19

I am using Tomcat 5.0.19 and I am having trouble with context logging.  Virtually all of the logging info goes directly to CATALINA.OUT, and I can't redirect it.  I want to direct the standard logging for 3 different contexts into 3 separate files. In Tomcat 4.1.24, I could re-assign the output with:
  <Logger className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="localhost_log." suffix=".txt" timestamp="true" />
and I could reassign the output for individual contexts by placing a similar block within the context:
  <Logger className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="MyContext." suffix=".txt" timestamp="true" />
I am now using Tomcat 5.0.19, and no matter what I do, I cant redirect the user logging.

All help appreciated.

Regards,

Bluespud.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Restarting a context in Tomcat 5? probedb Apache Tomcat 0 October 10th, 2007 03:00 AM
JNDI setup in Embedded Tomcat 5.0.19 Pretty Apache Tomcat 3 July 12th, 2005 06:55 AM
Tomcat 5.5 and context.xml ashiers Apache Tomcat 0 May 12th, 2005 08:57 PM
Tomcat context is shuttingdown.? tarun_keshav All Other Wrox Books 0 November 30th, 2004 08:04 AM
TomCat 5.0.19 CaseSensitive deactivate mulle78 Apache Tomcat 0 May 11th, 2004 07:05 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.