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 761F07A33 for ; Wed, 12 Oct 2011 02:58:58 +0000 (UTC) Received: (qmail 86298 invoked by uid 500); 12 Oct 2011 02:58:55 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 86251 invoked by uid 500); 12 Oct 2011 02:58: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 86242 invoked by uid 99); 12 Oct 2011 02:58:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2011 02:58:51 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ganu4maillist@gmail.com designates 209.85.212.45 as permitted sender) Received: from [209.85.212.45] (HELO mail-vw0-f45.google.com) (209.85.212.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2011 02:58:46 +0000 Received: by vws17 with SMTP id 17so277576vws.18 for ; Tue, 11 Oct 2011 19:58:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=a3Ed9QC5wEY/LWuV/2UFT23f9MMN/IlVM4zutbdJbP8=; b=bB10dqlUiD+wjPKCR5sPnkdjKjKZB/HrFK9fVpQIkG468wWj4uyp3MQKBukRwsVnqe EV+n8JjYN6VG07Po9TelToXKLqicxnsABaK+nQ8twJRLzwSAqcDYyM7xxjkDpL6VRmy5 P1VgdFf+n9umAlK4NW++QTH9D9Wo7O5GVeIRk= MIME-Version: 1.0 Received: by 10.52.67.84 with SMTP id l20mr22355892vdt.73.1318388305586; Tue, 11 Oct 2011 19:58:25 -0700 (PDT) Received: by 10.220.5.17 with HTTP; Tue, 11 Oct 2011 19:58:25 -0700 (PDT) In-Reply-To: <4E933CCD.5030105@pidster.com> References: <4E933CCD.5030105@pidster.com> Date: Wed, 12 Oct 2011 10:58:25 +0800 Message-ID: Subject: Re: How to save the log info to log file From: ganu MailList To: Tomcat Users List Content-Type: text/plain; charset=ISO-8859-1 Thanks 2011/10/11, Pid : > On 09/10/2011 03:24, ganu MailList wrote: >> In windows, How to let the tomcat write the catalina log to the log file, >> 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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org