Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BDDDB9265 for ; Mon, 6 Feb 2012 14:42:03 +0000 (UTC) Received: (qmail 73968 invoked by uid 500); 6 Feb 2012 14:42:00 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 73776 invoked by uid 500); 6 Feb 2012 14:41:59 -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 73767 invoked by uid 99); 6 Feb 2012 14:41:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2012 14:41:58 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [216.82.241.99] (HELO mail51.messagelabs.com) (216.82.241.99) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2012 14:41:48 +0000 X-Env-Sender: Chuck.Caldarale@unisys.com X-Msg-Ref: server-10.tower-51.messagelabs.com!1328539284!437030!11 X-Originating-IP: [192.61.61.105] X-StarScan-Version: 6.5.5; banners=-,-,- X-VirusChecked: Checked Received: (qmail 14185 invoked from network); 6 Feb 2012 14:41:26 -0000 Received: from naedge.unisys.com (HELO USEA-NAEDGE2.unisys.com) (192.61.61.105) by server-10.tower-51.messagelabs.com with RC4-SHA encrypted SMTP; 6 Feb 2012 14:41:26 -0000 Received: from usea-nahubcas2.na.uis.unisys.com (129.224.76.115) by USEA-NAEDGE2.unisys.com (192.61.61.105) with Microsoft SMTP Server (TLS) id 8.3.83.0; Mon, 6 Feb 2012 08:40:38 -0600 Received: from USEA-EXCH8.na.uis.unisys.com ([129.224.76.41]) by usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) with mapi; Mon, 6 Feb 2012 08:40:38 -0600 From: "Caldarale, Charles R" To: Tomcat Users List Date: Mon, 6 Feb 2012 08:41:18 -0600 Subject: RE: How can I access tomcat's logs using my jsp? Thread-Topic: How can I access tomcat's logs using my jsp? Thread-Index: AczkxgZUxiInz5X3Tr2Gba+t6OeR3wAFCITA Message-ID: <99C8B2929B39C24493377AC7A121E21FB011122F33@USEA-EXCH8.na.uis.unisys.com> References: <4F2C40F7.7000400@tmbsw.com> <4F2C4FD4.60602@ice-sa.com> <99C8B2929B39C24493377AC7A121E21FB0111228AC@USEA-EXCH8.na.uis.unisys.com> In-Reply-To: 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-Virus-Checked: Checked by ClamAV on apache.org > From: Lev A KARATUN [mailto:Lev.KARATUN@raiffeisen.ru]=20 > Subject: RE: How can I access tomcat's logs using my jsp? > when I'm copypasting the default servlet block to=20 > $CATALINA_BASE/logs/WEB-INF/web.xml, the application > no longer works. There's an additional step required for Tomcat 6 that's not necessary for T= omcat 7. So either upgrade, or do the following: Change the name of the DefaultServlet in logs/WEB-INF/web.xml to logsdefaul= t (or some other unique label): logsdefault and add a for it: logsdefault / Tomcat 6 does not allow you to override the settings in the = global conf/web.xml, but Tomcat 7 does. > And one more question - if myapp's docBase is set to $CATALINA_BASE/logs = ,=20 > does it matter what is in the webapps/myapp folder? Assuming the "myapp" you're referring to is the one for accessing Tomcat's = logs, you should not risk problems by also having a webapps/myapp. It shou= ldn't hurt, but... And, as usual, ignore Martin G's irrelevant ramblings. - 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