Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 25676 invoked from network); 4 Jan 2010 02:27:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Jan 2010 02:27:58 -0000 Received: (qmail 41966 invoked by uid 500); 4 Jan 2010 02:27:54 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 41874 invoked by uid 500); 4 Jan 2010 02:27:54 -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 41855 invoked by uid 99); 4 Jan 2010 02:27:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 02:27:54 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [192.61.61.109] (HELO usea-naimss4.unisys.com) (192.61.61.109) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 02:27:43 +0000 Received: from usea-nagw1.na.uis.unisys.com ([129.224.72.16]) by usea-naimss4 with InterScan Message Security Suite; Sun, 03 Jan 2010 20:27:21 -0600 Received: from usea-nagw1.na.uis.unisys.com ([129.224.72.51]) by usea-nagw1.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 3 Jan 2010 20:26:24 -0600 Received: from usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) by usea-nagw1.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 3 Jan 2010 20:26:24 -0600 Received: from USEA-EXCH8.na.uis.unisys.com ([129.224.76.42]) by usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) with mapi; Sun, 3 Jan 2010 20:26:23 -0600 From: "Caldarale, Charles R" To: Tomcat Users List Date: Sun, 3 Jan 2010 20:26:17 -0600 Subject: RE: Tomcat 6 Log Tomcat output to file Thread-Topic: Tomcat 6 Log Tomcat output to file Thread-Index: AcqM4vd0xGns2LIZQFednIZsxHV7WAAAEu1Q Message-ID: <99C8B2929B39C24493377AC7A121E21F9680B4A800@USEA-EXCH8.na.uis.unisys.com> References: <4a12aaf80912210656rda85189kda032b44e3eb18c4@mail.gmail.com> <4B2F8E1B.5000105@ice-sa.com> <27007967.post@talk.nabble.com> In-Reply-To: <27007967.post@talk.nabble.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 04 Jan 2010 02:26:24.0186 (UTC) FILETIME=[4F73A9A0:01CA8CE5] X-Virus-Checked: Checked by ClamAV on apache.org > From: n828cl [mailto:Chuck.Caldarale@unisys.com] > Subject: Re: Tomcat 6 Log Tomcat output to file >=20 > awarnier wrote: > > startup.bat > outputfile >=20 > Close, but it should be: >=20 > catalina.bat > outputfile.log Scratch that - it's not complete; it should be: catalina.bat > outputfile.log 2>&1 Most of the log messages are sent to stderr, not stdout, so the two redirec= tions are needed. You will need to run shutdown.bat from a separate command prompt, or use CT= RL-C in the original one, along with answering y to the now-hidden terminat= e message. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MA= TERIAL and is thus for use only by the intended recipient. If you received = this in error, please contact the sender and delete the e-mail and its atta= chments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org