Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 71023 invoked from network); 1 Nov 2006 16:58:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Nov 2006 16:58:52 -0000 Received: (qmail 99837 invoked by uid 500); 1 Nov 2006 16:59:01 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 99814 invoked by uid 500); 1 Nov 2006 16:59:01 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 99802 invoked by uid 99); 1 Nov 2006 16:59:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 08:59:01 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of opeckojo@gmail.com designates 64.233.182.190 as permitted sender) Received: from [64.233.182.190] (HELO nf-out-0910.google.com) (64.233.182.190) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 08:58:47 -0800 Received: by nf-out-0910.google.com with SMTP id p77so703724nfc for ; Wed, 01 Nov 2006 08:58:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lDiU/p6wm7kVP2Sct3940nFT2mpTH9Tg8XGKPvw+GYMbPJRNvyi23aVP3mYeHjMF3sB/GX+5oh8Er0ya8e3zXhGwa4w2XKbCDVrfKMbkuDl7dUG2j05CFsM2wPTRq/ArHEM0NfXDg/y3ZVbR4KW5UP75lz3eFDukvwtmjmxZCSI= Received: by 10.82.126.19 with SMTP id y19mr1546610buc; Wed, 01 Nov 2006 08:58:25 -0800 (PST) Received: by 10.82.153.4 with HTTP; Wed, 1 Nov 2006 08:58:25 -0800 (PST) Message-ID: <8e6a8c590611010858h3d8cb550l7fec1205a914e91c@mail.gmail.com> Date: Wed, 1 Nov 2006 11:58:25 -0500 From: "Joe O'Pecko" To: user@geronimo.apache.org Subject: Re: Path to log files In-Reply-To: <1A3EC9C6-2398-47EF-947B-908556136BC2@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1A3EC9C6-2398-47EF-947B-908556136BC2@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org If starting Geronimo in the background you can redirect the stdout and stderr streams by setting the environment variable GERONIMO_OUT (See $GERONIMO_HOME/bin/geronimo.sh for details). To redirect other files, such as the server.log, you'll need to edit the $GERONIMO_HOME/var/log/server-log4j.properties file as per your requirements. HTH Joe On 11/1/06, Kevan Miller wrote: > > On Nov 1, 2006, at 9:47 AM, Peter Nabbefeld wrote: > > > Hello! I want to have all my geronimo logs in /var/log/geronimo, so > > I'd > > need to configure the path for the startup log (using geronimo 1.1). > > While I'd be able to modify the startup script, fo course, I'd > > prefer to > > have a simple configuration option - anything in 1.1.1 or planned for > > the future? > > Peter, > I don't think it supports your precise requirement, but have you > tried setting GERONIMO_BASE? Something like 'export GERONIMO_BASE=/ > var/geronimo' may be as close as you can currently get... > > geronimo.sh is the script that controls the launching of geronimo. It > defaults a number of settings from GERONIMO_BASE. I assume you'd > basically need to move/copy your /var to /var/ > geronimo/ > > --kevan >