From users-return-228342-apmail-tomcat-users-archive=tomcat.apache.org@tomcat.apache.org Mon Oct 10 18:44:00 2011 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 62B317A6D for ; Mon, 10 Oct 2011 18:44:00 +0000 (UTC) Received: (qmail 79018 invoked by uid 500); 10 Oct 2011 18:43:57 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 78863 invoked by uid 500); 10 Oct 2011 18:43:57 -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 78853 invoked by uid 99); 10 Oct 2011 18:43:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2011 18:43:57 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pid@pidster.com designates 209.85.215.173 as permitted sender) Received: from [209.85.215.173] (HELO mail-ey0-f173.google.com) (209.85.215.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2011 18:43:49 +0000 Received: by eyh6 with SMTP id 6so1710390eyh.18 for ; Mon, 10 Oct 2011 11:43:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pidster.com; s=google; h=message-id:date:from:organization:user-agent:mime-version:to :subject:references:in-reply-to:x-enigmail-version:openpgp :content-type; bh=duzl1mi+/xquY26nmchifV65Oi9Qx4RimH7nMP0yd4A=; b=FJeEbJFwcnsIIyUi8fjYa93J9vkN43Q7CBDC7oSlisPW4+dfIG7jJhyQc78hhztN+R CAVkIVG316LUiG6HnJZ6H4u4CbJRRzjALwVrSW1y01l3zbxbyB+pTneRqQ+Ak71Az0Jz BFh1eEoAJY8fdBqkj2h4pgckRNg99i4s65y/Y= Received: by 10.213.102.10 with SMTP id e10mr1042009ebo.88.1318272209039; Mon, 10 Oct 2011 11:43:29 -0700 (PDT) Received: from Asura.local ([194.204.15.33]) by mx.google.com with ESMTPS id t2sm41958607eef.10.2011.10.10.11.43.27 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 10 Oct 2011 11:43:27 -0700 (PDT) Message-ID: <4E933CCD.5030105@pidster.com> Date: Mon, 10 Oct 2011 19:43:25 +0100 From: Pid Organization: Pidster Inc User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: How to save the log info to log file References: In-Reply-To: X-Enigmail-Version: 1.3.2 OpenPGP: id=62590808 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig7C7CC0E16A805ECD51E590BB" X-Virus-Checked: Checked by ClamAV on apache.org --------------enig7C7CC0E16A805ECD51E590BB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 09/10/2011 03:24, ganu MailList wrote: > In windows, How to let the tomcat write the catalina log to the log fil= e, I > find that in the linux ,the log will be saved to the log file , > but in the window 7, the log is print to the console. how to set ? Install it as a service, configure the Service Manager to output the stdout/stderr to a file. http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html p --------------enig7C7CC0E16A805ECD51E590BB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCgAGBQJOkzzNAAoJEGoM2OGpOvr9wSsP/1Mr3pK6+azd3LpwMDN/TeNY 73cvKzttdOKCtDD8R+l45OY+FTtAJ17PETZ/c2lMdS/tKb1M+gV5colgtYAQqpIn eX+O2kL9hg9G7F5NovChWw2C2ctquXrqCY4XzDSgJfqlCYb0S0Klw6eaZjYQyMl6 fQczrBA1n2BsTh4Y3PB6YNTX0NDiUYdUHmZAbT/44VEkkCt91gjoREoZtA+1qdv6 Xl2sI+13vfSFHpeALew/KCFNcPJIOwnLe0Y7aV6nkCo8+zntDRHuMjarWOaY59fh wf1is1U+avcXgrEIjis6BjL10DsMHPI3OfKYF3FXlaSOThNnZgTf/SOCpTt87+y6 IfCYUgGAEFSqbskD1LPgmU10R/j2/7+d7M8EgtoXtsvfGqcysxtqHp/gHPW8ehWs ICEIW4tvgEZVHH3FPWQHkh3SLxAb7fUiH4xmm37hVzs0Gdhqlhyie516aeMFG5ar MeNKRYv5D5kE/krYIRkkXPPNKDF2zjr3Yimv1Q/KJ5TshuwbA+518SrVMHb1QYUQ nj64D1459jVtXYdbQrzgwS3nb/P4AUhIECwlUhxxi6UjNd5jwUJEXN+hXXy8Z5h+ /jRJe7kSXl8Vrq23gvCl1TiGtHOITiI/Us00RFUGwgBa8NW8NnwHAhBOnZMeJmDv ZrZRUu45T1D4Z+aJg5LD =Di55 -----END PGP SIGNATURE----- --------------enig7C7CC0E16A805ECD51E590BB--