Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
| Search | Today's Posts | Mark Forums Read
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
  #1 (permalink)  
Old December 19th, 2004, 11:48 AM
Registered User
 
Join Date: Dec 2004
Location: bangalore, ka, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem for creating the separate log file for con

Hi,

problem for creating the separate log file by <Logger ..... />for my application context in tomcat-5.0.19.
that is working fine in tomcat 5.0.27!!!!!
can any body help me what the settings are to be needed to make it out on tomcat 5.0.19 .
is this bug ???? or AM I missing some thing
but <Valve .../> is working fine.

sample of my context file which is under

..conf\Catalina\localhost

<Context displayName="SMART" debug="0" docBase="Smart" path="/Smart">

    <Logger className="org.apache.catalina.logger.FileLogger"
                 directory="webapps/smartlogs" prefix="Smart_log." suffix=".txt"
            timestamp="true"/>

   <Valve className="org.apache.catalina.valves.AccessLogVal ve"
      directory="webapps/smartlogs" prefix="AccessLogValve_log." suffix=".txt"
      timestamp="true"
      pattern="common"/>
    .......................
    .....................
    ..................

     <Context/>


Similar Threads
Thread Thread Starter Forum Replies Last Post
log file problem MunishBhatia SQL Server 2005 0 October 5th, 2007 04:22 AM
Can't get Log to write the Log.txt file jnbutler BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 3 July 31st, 2007 04:04 AM
Creating separate database for users. major dynamic123 MySQL 3 March 4th, 2005 10:24 AM
Creating a log file from actions taken in a form lguzman Access VBA 2 November 3rd, 2004 10:58 AM
Creating a log file for multiple users patwadd Classic ASP Basics 19 June 24th, 2004 08:14 AM





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