Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 64574 invoked from network); 11 Dec 2007 09:03:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Dec 2007 09:03:17 -0000 Received: (qmail 57173 invoked by uid 500); 11 Dec 2007 09:02:55 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 57151 invoked by uid 500); 11 Dec 2007 09:02:55 -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 57140 invoked by uid 99); 11 Dec 2007 09:02:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Dec 2007 01:02:55 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [68.142.236.44] (HELO n6a.bullet.mail.re3.yahoo.com) (68.142.236.44) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 11 Dec 2007 09:02:31 +0000 Received: from [68.142.237.89] by n6.bullet.re3.yahoo.com with NNFMP; 11 Dec 2007 09:02:33 -0000 Received: from [68.142.194.244] by t5.bullet.re3.yahoo.com with NNFMP; 11 Dec 2007 09:02:33 -0000 Received: from [68.142.237.87] by t2.bullet.mud.yahoo.com with NNFMP; 11 Dec 2007 09:02:33 -0000 Received: from [209.191.108.97] by t3.bullet.re3.yahoo.com with NNFMP; 11 Dec 2007 09:02:33 -0000 Received: from [68.142.230.29] by t4.bullet.mud.yahoo.com with NNFMP; 11 Dec 2007 09:02:33 -0000 Received: from [66.196.97.145] by t2.bullet.re2.yahoo.com with NNFMP; 11 Dec 2007 09:02:33 -0000 Received: from [127.0.0.1] by omp203.mail.re3.yahoo.com with NNFMP; 11 Dec 2007 09:02:33 -0000 X-Yahoo-Newman-Property: ymail-5 X-Yahoo-Newman-Id: 286360.56231.bm@omp203.mail.re3.yahoo.com Received: (qmail 90064 invoked by uid 60001); 11 Dec 2007 09:02:32 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=U6A1yBxuQ79jplR+I3FHeBructGBEfvCe9M4M1HR1LTsCO1ypYs/Am7O8yQTuCzpuNTlXvvD9svyrPhiU7NG7ZKzhYnaqd4b/AeTSyQ0lgDu7ae+8J0ABWRZgP2J9mXLbAAn3xcq2yza9m4s2NVbVbV+YOvzvuNbGtvM6UGJiKI=; X-YMail-OSG: hKQU5MoVM1l18.4EknA7csf_0tTPOH6rFKZWTWJ8BtyJ_fU.MDhIdXhTEKObV_tE4W5.53ko2_quMZcJ6bDd5HTUkUIAzSfqNXwXL.268GykwoMKBIFdPsH1jiNvbjmU Received: from [193.32.3.83] by web57409.mail.re1.yahoo.com via HTTP; Tue, 11 Dec 2007 01:02:32 PST Date: Tue, 11 Dec 2007 01:02:32 -0800 (PST) From: Stefano Martines Subject: Re: stdout.log size is increasing To: Tomcat Users List In-Reply-To: <475D5FE9.15195.87085@ochanis.ncc.edu> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1050169427-1197363752=:85655" Content-Transfer-Encoding: 8bit Message-ID: <279433.85655.qm@web57409.mail.re1.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-1050169427-1197363752=:85655 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi Steve, thanks, OS is windows 2003. How can I archive stdout.log in a production environment without stopping tomcat? I want that tomcat automatically archives the stdout.log file and creates a new one once a certains size is reached. Otherwise the log file size raises everyday ! How can I configure "logrotate" as you mentioned? is it applicable on windows as well? thank you Steve Ochani wrote: On 10 Dec 2007 at 1:16, Stefano Martines wrote: > Hi All, > > Although the log level is low, the stdout.log size is increasing in > production day by day. > I want that tomcat automatically archives the stdout.log file and > creates a new one once a certains size is reached. > > How can I do that? > You didn't mention what OS you're using (or Tomcat version for that matter) but if you're using unix, try logrotate. > I want somethink like this: > > stdout.log 12 MB > stdout_1.log 50 MB > stdout_2.log 50 MB > stdout_3.log 50 MB > > thank you > Stefano > > > > ____________________________________________________________________ > ________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > --------------------------------------------------------------------- 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 --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. --0-1050169427-1197363752=:85655--