Return-Path: Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: (qmail 98271 invoked from network); 16 Apr 2009 17:22:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Apr 2009 17:22:41 -0000 Received: (qmail 29504 invoked by uid 500); 16 Apr 2009 17:22:40 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 29463 invoked by uid 500); 16 Apr 2009 17:22:40 -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 29452 invoked by uid 99); 16 Apr 2009 17:22:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Apr 2009 17:22:39 +0000 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Matt.Brown@citrixonline.com designates 216.219.126.165 as permitted sender) Received: from [216.219.126.165] (HELO SBAPEXCH05.ad.corp.expertcity.com) (216.219.126.165) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Apr 2009 17:22:31 +0000 Received: from SBAPEXCH05.ad.corp.expertcity.com ([10.1.6.25]) by sbapexch05 ([10.1.6.25]) with mapi; Thu, 16 Apr 2009 10:22:09 -0700 From: Matt Brown To: Log4J Users List Date: Thu, 16 Apr 2009 10:22:07 -0700 Subject: RE: Is there any way to output the log statemts from a particular method to a different log file other than what is configued for that package? Thread-Topic: Is there any way to output the log statemts from a particular method to a different log file other than what is configued for that package? Thread-Index: Acm+t2peOPLgFABAROybsoe/uf8oOAAAG7KQ Message-ID: <44B76DF56DE7A843BB5E8109DC4EEB1204D5746CCC@sbapexch05> References: <23078688.post@talk.nabble.com> <44B76DF56DE7A843BB5E8109DC4EEB1204D5746B5A@sbapexch05> <23079003.post@talk.nabble.com> <23079102.post@talk.nabble.com> <23079687.post@talk.nabble.com> <44B76DF56DE7A843BB5E8109DC4EEB1204D5746BDB@sbapexch05> <23081601.post@talk.nabble.com> <44B76DF56DE7A843BB5E8109DC4EEB1204D5746C7C@sbapexch05> <23082558.post@talk.nabble.com> In-Reply-To: <23082558.post@talk.nabble.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org http://logging.apache.org/log4j/1.2/manual.html Take a look at the section = on Appender Additivity. =20 -----Original Message----- From: Vani Bandargal [mailto:vanims_98@hotmail.com]=20 Sent: Thursday, April 16, 2009 1:18 PM To: log4j-user@logging.apache.org Subject: RE: Is there any way to output the log statemts from a particular = method to a different log file other than what is configued for that packag= e? Matt, Incredible...Thanks for helping me out.=20 I can now see the database1 log file contains log from method1 and database2 log file contains log from method2.=20 On a side note(not a big deal)both logs from method1 and method2 are output= ted in root log too(along with what is specified) Is there any way to stop = it outputting in root log.=20 Thanks. -- View this message in context: http://www.nabble.com/Is-there-any-way-to-out= put-the-log-statemts-from-a-particular-method-to-a-different-log-file-other= -than-what-is-configued-for-that-package--tp23078688p23082558.html Sent from the Log4j - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org