Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 73016 invoked from network); 5 May 2004 21:43:59 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 May 2004 21:43:59 -0000 Received: (qmail 8967 invoked by uid 500); 5 May 2004 21:43:43 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 8952 invoked by uid 500); 5 May 2004 21:43:43 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 8937 invoked from network); 5 May 2004 21:43:43 -0000 Received: from unknown (HELO msgdirector1.onetel.net.uk) (212.67.96.148) by daedalus.apache.org with SMTP; 5 May 2004 21:43:43 -0000 Received: from bolek.coachhouse (213-78-101-47.friaco.onetel.net.uk [213.78.101.47]) by msgdirector1.onetel.net.uk (MOS 3.4.6-GR) with ESMTP id BHY42725; Wed, 5 May 2004 22:41:51 +0100 (BST) Received: (Exim 3.35) #1 (Debian)) protocol: esmtp id 1BLR9y-000420-00 ; Wed, 05 May 2004 19:30:22 +0100 Message-ID: <409932BD.4060806@numerixtechnology.de> Date: Wed, 05 May 2004 19:30:21 +0100 From: T E Schmitz Reply-To: mailreg@numerixtechnology.de User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Apache Torque Users List Subject: Re: log4j configuration References: <003701c432bb$a0f43a90$6d34a8c0@adirtech.com> In-Reply-To: <003701c432bb$a0f43a90$6d34a8c0@adirtech.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N It is also possible to control Torque's log4j output via your application's log4j.properties file. I have set up log4j logging for my application and in my properties file I set the categories: #category settings log4j.category.util=WARN log4j.category.org.apache=WARN log4j.category.org.apache.torque=DEBUG log4j.category.org.apache.commons=WARN Regards, Tarlika Elisabeth Schmitz PS: MS, You seem to be using HTML email. Unfortunately, this will make your emails and therefore mailing list contributions totally unreadable for others (it means you have to scroll a mile to the right when browsing the archive). Please, use plain text email for mailing lists. MS wrote: > I downloaded torque and tried out the sample bookstore application. It works nicely, and I'm excited about using torque. However, I cannot get the logging statements to go into a file instead of the console. I searched the mailing-list archives and any online resource I could find, but found no useful information. > > Can anyone answer the following for me: > > * Which file contains the logging configuration information? The entries in Torque.properties are ignored. > > * Where (i.e. in which java file) is the logging initialized? > > Thanks in advance, > MC > --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org