Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 83023 invoked from network); 9 Jun 2010 08:09:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Jun 2010 08:09:16 -0000 Received: (qmail 48301 invoked by uid 500); 9 Jun 2010 08:09:10 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 48103 invoked by uid 500); 9 Jun 2010 08:09:10 -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 48094 invoked by uid 99); 9 Jun 2010 08:09:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jun 2010 08:09:10 +0000 X-ASF-Spam-Status: No, hits=-0.3 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pid@pidster.com designates 74.125.82.173 as permitted sender) Received: from [74.125.82.173] (HELO mail-wy0-f173.google.com) (74.125.82.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jun 2010 08:09:03 +0000 Received: by wyb36 with SMTP id 36so3785198wyb.18 for ; Wed, 09 Jun 2010 01:08:40 -0700 (PDT) Received: by 10.227.68.146 with SMTP id v18mr1337870wbi.181.1276070508528; Wed, 09 Jun 2010 01:01:48 -0700 (PDT) Received: from Phoenix.local (cpc2-lewi13-2-0-cust269.2-4.cable.virginmedia.com [86.14.119.14]) by mx.google.com with ESMTPS id d50sm2124wej.38.2010.06.09.01.01.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 09 Jun 2010 01:01:47 -0700 (PDT) Message-ID: <4C0F4A64.60808@pidster.com> Date: Wed, 09 Jun 2010 09:01:40 +0100 From: Pid Reply-To: pid@pidster.com Organization: Pidster Inc User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Question to post to the list References: In-Reply-To: X-Enigmail-Version: 1.0.1 OpenPGP: id=62590808 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig15158B6322979DBC3B347514" --------------enig15158B6322979DBC3B347514 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 09/06/2010 07:56, Fiona Duncan wrote: > Hi, >=20 > I am hoping that someone may be able to help me. >=20 > I want to write my tomcat logs to a different directory. > I thought i could change >=20 > log4j.appender.R.File=3D$\{catalina.home\}/logs/tomcat.log to something= like log4j.appender.ROLLINGFILE.File=3D$\{logs\}/stdout.log >=20 > in my C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\De= kho\WEB-INF\classes\resources logging.properties file but had no luck wit= h this. >=20 > Does anyone have any ideas So you're using Tomcat 6.0.something, and Windows something, and a JVM version +1.5 of some sort. << (Hints for next time) You can define CATALINA_HOME (Tomcat installation) and CATALINA_BASE (apps, logs & config) to be in separate locations. This is often used to run multiple instances from the same binaries, but also helps moves logs out of Programs Files on Windows and makes upgrades incredibly easy. Examine "RUNNING.txt" in the Tomcat installation directory and look for "Advanced Configuration". p > Level 1, 414 Kent St > Sydney NSW 2000 >=20 > http://www.esriaustralia.com.au > Freecall 1800 447 111 >=20 > Putting knowledge into place(tm) > This message is intended for the addressee named and may contain confid= ential information. If you are not the intended recipient please notify t= he sender by return email, do not use or disclose the contents and delete= the message and any attachments from your system. The contents of this m= essage does not necessarily represent the opinions of ESRI Australia. ESR= I Australia does not accept any responsibility for loss or damage that ma= y result from reliance on, or the use of, the information contained in th= is e-mail and any attachments. > **Please consider the environment before printing this email** >=20 --------------enig15158B6322979DBC3B347514 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iQIVAwUBTA9KaWoM2OGpOvr9AQrwew/+KqQh6PTBubSQzQjrmycW58CjRIYjAfAL v0seRW3GF9VmQaGKDw/VKifx8jFNAwqNbx69jXxyciVUg1smXnP77aSZ7M32DA/I s7qD3SN5isrrttH7cLL8wcGJJJ6OTKaHRCiLtY/9WE9rmZVKT/FQ7hnR8OSuidvX VW+4jPZtRE+OO7nJXml7wm7eWGUsR3knxkuVsxDMyfWqX+wDch3tMdszXOOWkEO2 kIJbuvi3sxhCaV1n06+AiIoQ5j9gbcMgzm5dBRRhEB9EeNBTR9A1RXzLqEwq+XCt egRBPXkW9dTV2hi9io+iMKuVGrS9oxsNDyBxOqGc1sjCRoPE0HhmLQAsGMJXmYHb ijaFiAW5Ntoo/QgEz8rF1srRf6vxGeTY9bc5iG3Hqu/6FARTs3iVOPnJpWMAvMr7 iXnMxflzxwH9LAxJO/F+7/QbCWxW4bKUyCCcO+eM+Pb5WsT5WWqDwQuBzDWa8eGW rumIrmOpEL3JrUd2D+Oz5AzqFYKmFhXFR4bX/YhdnnQ/P1ci8U/qlphAK10dzWiw WHo25DYQ8FB8i+4T53pnypS31Pd7rLRc3dezumWrgyRiKnVhoZ7jyIe6Or5K7oUO ZF3ALvHc303VbOnFCEe7ARlTqvSd4BcnwN+xtmKJTO6Ubu8mcYnDuw9s9hgcwjC8 hkSdYchPruM= =kdZ5 -----END PGP SIGNATURE----- --------------enig15158B6322979DBC3B347514--