Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 64003 invoked from network); 11 Feb 2008 10:59:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Feb 2008 10:59:07 -0000 Received: (qmail 96241 invoked by uid 500); 11 Feb 2008 10:58:49 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 96064 invoked by uid 500); 11 Feb 2008 10:58:49 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 96053 invoked by uid 99); 11 Feb 2008 10:58:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 02:58:49 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 24.24.2.59 is neither permitted nor denied by domain of dns4@cornell.edu) Received: from [24.24.2.59] (HELO ms-smtp-05.nyroc.rr.com) (24.24.2.59) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 10:58:03 +0000 Received: from [192.168.5.102] (cpe-24-59-111-127.twcny.res.rr.com [24.59.111.127]) by ms-smtp-05.nyroc.rr.com (8.13.6/8.13.6) with ESMTP id m1BAwNsX000949 for ; Mon, 11 Feb 2008 05:58:23 -0500 (EST) Message-ID: <47B02A4F.7090206@cornell.edu> Date: Mon, 11 Feb 2008 05:58:23 -0500 From: David Smith User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: catalina.out is not reloading References: <920d256f0802062149l52094718g24432ab673c74a25@mail.gmail.com> <47AADFA4.5070102@cornell.edu> <920d256f0802101935v4639504bkc84b5f509dfd5675@mail.gmail.com> <47AFDF41.6070503@cornell.edu> <920d256f0802110217k10e3c83ct1d12972529c0aa3b@mail.gmail.com> In-Reply-To: <920d256f0802110217k10e3c83ct1d12972529c0aa3b@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked by ClamAV on apache.org Sorry guy. Maybe someone else can provide such updates. I'd have to write it as I've never had the need for such functionality. --David persistence k wrote: > Thanks Mr.David . > > Will you please send me a sample start up script to handle renaming or > deleting the old catalina.out file. > > > Regards, > Persistence > > > > > On 2/11/08, David Smith wrote: > >> Then you should modify the startup script to handle renaming or deleting >> the old file before starting tomcat. Catalina.out itself is just the >> redirected standard output from tomcat and tomcat has no control over >> what the OS does with what it spews out. >> >> As a better alternative, configure your favorite logging framework to >> provide rolling log files. There are lots of messages in the archives >> regarding log4j and dealing with the classloader system in tomcat if you >> want to go that direction. >> >> --David >> >> persistence k wrote: >> >>> Yes, Mr.David. I want each time tomcat's redirects its standard output to >>> catalina.out file, >>> this file should reflect that change and during tomcat start up all the >>> content in the file should be deleted, instead of appending it to previous >>> messages. >>> >>> Right now I'm closing and reopening the file to notice the changes in it. >>> Instead I would like to see the file reloaded each time tomcat redirects >>> >> its >> >>> standard output to >>> that file, just as it happens in windows. >>> >>> Please suggest me a solution for this. >>> >>> Thanks >>> Persistence. >>> >>> >>> >>> >>> On Feb 7, 2008 4:08 PM, David Smith wrote: >>> >>> >>> >>>> I'm not clear on what you mean by 'reloading' as catalina.out is just a >>>> text file accepting tomcat's redirected standard output. It should >>>> simply be appended to as messages are generated. Are you saying you >>>> want the file to be deleted and started fresh on every tomcat startup? >>>> >>>> --David >>>> >>>> persistence k wrote: >>>> >>>> >>>>> Hi, >>>>> >>>>> whenever I restart the tomcat in linux, the file ' catalina.out ' is not >>>>> automatically reloading just like the file ' std.out ' does in windows. >>>>> >>>>> ' catalina.out ' file containing all the 'System.out ' statements >>>>> >>>>> >>>> printed >>>> >>>> >>>>> from the day tomcat >>>>> was installed in my linux system. >>>>> >>>>> Please tell me a solution so that the file ' catalina.out ' gets >>>>> reloaded for each and every time I made change in WEB UI. >>>>> >>>>> -Persistence >>>>> >>>>> >>>>> >>>>> >>>> --------------------------------------------------------------------- >>>> 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 >>>> >>>> >>>> >>>> >>> >> --------------------------------------------------------------------- >> 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 >> >> >> > > --------------------------------------------------------------------- > 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 > > --------------------------------------------------------------------- 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