Return-Path: Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: (qmail 314 invoked from network); 16 Mar 2006 21:39:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Mar 2006 21:39:12 -0000 Received: (qmail 13621 invoked by uid 500); 16 Mar 2006 21:39:09 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 13193 invoked by uid 500); 16 Mar 2006 21:39:08 -0000 Mailing-List: contact log4j-user-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@logging.apache.org Received: (qmail 13182 invoked by uid 99); 16 Mar 2006 21:39:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Mar 2006 13:39:07 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [57.80.136.27] (HELO becxoex18.corp.kpmgconsulting.com) (57.80.136.27) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Mar 2006 13:39:06 -0800 Received: from becxoex03.corp.kpmgconsulting.com ([10.98.3.106]) by becxoex18.corp.kpmgconsulting.com with InterScan Messaging Security Suite; Thu, 16 Mar 2006 21:38:44 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: newbie question Date: Thu, 16 Mar 2006 21:38:44 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: newbie question Thread-Index: AcZJLSl4sf37rSN9SlSUW4EcxOf4bgAFBXGA From: "Gunter, Tony" To: "Log4J Users List" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Do you have any examples where two logging hierarchies are defined in the properties file? Thanks! -----Original Message----- From: James Stauffer [mailto:stauffer.james@gmail.com]=0D Sent: Thursday, March 16, 2006 1:09 PM To: Log4J Users List Subject: Re: newbie question Create 2 logger higherarchies. One normal and one for business events. Then it should be easy to split them into two separate files. On 3/16/06, Gunter, Tony wrote: > > I want to use log4j in my application to write to two separate log > files, one OHCRAP log file for techies to dig through with warnings, > errors, and debugging, and one informational log file that will log > business events for possible reporting use at a later date. > > > > I purchased a copy of the log4j manual, but in lieu of reading the > entire thing, is there an easy/standard way of accomplishing this? If > you could point me to a page number, that would suffice. Any help would > be greatly appreciated! > > > > > > > > ************************************************************************ *************************** > The information in this email is confidential and may be legally privileged. Access to this email by anyone other than the intended addressee is unauthorized. If you are not the intended recipient of this message, any review, disclosure, copying, distribution, retention, or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you are not the intended recipient, please reply to or forward a copy of this message to the sender and delete the message, any attachments, and any copies thereof from your system. > ************************************************************************ *************************** > -- James Stauffer Are you good? Take the test at http://www.livingwaters.com/good/ --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org ***************************************************************************= ************************ The information in this email is confidential and may be legally= privileged. Access to this email by anyone other than the intended= addressee is unauthorized. If you are not the intended recipient of this= message, any review, disclosure, copying, distribution, retention, or any= action taken or omitted to be taken in reliance on it is prohibited and= may be unlawful. If you are not the intended recipient, please reply to= or forward a copy of this message to the sender and delete the message,= any attachments, and any copies thereof from your system. ***************************************************************************= ************************ --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org