Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 52942 invoked from network); 11 Feb 2008 10:18:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Feb 2008 10:18:28 -0000 Received: (qmail 44883 invoked by uid 500); 11 Feb 2008 10:18:09 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 44854 invoked by uid 500); 11 Feb 2008 10:18:09 -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 44829 invoked by uid 99); 11 Feb 2008 10:18:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 02:18:09 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of persistence10@gmail.com designates 72.14.252.152 as permitted sender) Received: from [72.14.252.152] (HELO po-out-1718.google.com) (72.14.252.152) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 10:17:38 +0000 Received: by po-out-1718.google.com with SMTP id c31so1984514poi.4 for ; Mon, 11 Feb 2008 02:17:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=CY03tO3udP+iSXlUs9mL3dqqqa+Z8Gztmwe/Q9XJolI=; b=OQxiK699G2ICSIjcdse/96FelhyxcBSxLrzgpGaJRU78tVRD8OoGglp4AOtA05aq0Ksyt/YrwPNF/KqS13i4RVZ6PuaetLjAEBfASvj79o7P1TDSj3S/hXxpJC+fnnv4QTrUK6AvuwnyQEpyiHA3AdgZlBxCBihf0mItccx+8hU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=evsHDdlDu7uioLcqI8LwhHLr02K+wM3RqwMqdzuOiURBRrNO9W/hsd9FjTbcb+Rzod1fR4XOpNbJgea24vCCOHuwu9Dsf9jsiAI1MLgA763g9+87TtUIHlaq6LxfGwNC5/GsiRCN9mDa8u+RxdH6Ua0aYKR5N60LZXuTvAKi3Xg= Received: by 10.141.27.16 with SMTP id e16mr10465862rvj.141.1202725066541; Mon, 11 Feb 2008 02:17:46 -0800 (PST) Received: by 10.141.77.17 with HTTP; Mon, 11 Feb 2008 02:17:46 -0800 (PST) Message-ID: <920d256f0802110217k10e3c83ct1d12972529c0aa3b@mail.gmail.com> Date: Mon, 11 Feb 2008 15:47:46 +0530 From: "persistence k" To: "Tomcat Users List" Subject: Re: catalina.out is not reloading In-Reply-To: <47AFDF41.6070503@cornell.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <920d256f0802062149l52094718g24432ab673c74a25@mail.gmail.com> <47AADFA4.5070102@cornell.edu> <920d256f0802101935v4639504bkc84b5f509dfd5675@mail.gmail.com> <47AFDF41.6070503@cornell.edu> X-Virus-Checked: Checked by ClamAV on apache.org 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