Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 74653 invoked from network); 15 Jan 2009 19:06:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jan 2009 19:06:02 -0000 Received: (qmail 57665 invoked by uid 500); 15 Jan 2009 19:05:59 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 57601 invoked by uid 500); 15 Jan 2009 19:05:59 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 57590 invoked by uid 99); 15 Jan 2009 19:05:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jan 2009 11:05:59 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of hanson.char@gmail.com designates 209.85.198.240 as permitted sender) Received: from [209.85.198.240] (HELO rv-out-0708.google.com) (209.85.198.240) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jan 2009 19:05:51 +0000 Received: by rv-out-0708.google.com with SMTP id k29so1300104rvb.30 for ; Thu, 15 Jan 2009 11:05:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=72nlj0eCDX8s/mfnu2745Lyfqbo6QBssUwkpIUslVqU=; b=EogjzyB2lMI4sl0+Zr6t/dvpDXJFffElbpqbcAokBPJ6jCx3vUF55kyVM1fvvQkvzl KK6A1LrGJH8MTITapQl4Nhp+SU+vT+1RJRJEphefW4aAve86r8AQ3yCBLg8e7TXk8yJE 3rNQ/IdHZ2M8ymBbtyz29hWMWNTo68fGtmlg0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=GEld4Q1MzxvZQ5F9qCjMpIP3Mx2ThYU+CbkzJnrWFFZijEHoVbZ5X/KqAEmPHeE/I3 4coCPdpzaNAeJkTflb8AI3WZN/0sJ3YypVH0G0VoLOrmnA6XJIVtv7mx5wpAVJhZLzt+ /UHp+kv5PCpi4YNjOPFZI3agJKaE0q2awEeck= Received: by 10.141.152.8 with SMTP id e8mr754796rvo.273.1232046330155; Thu, 15 Jan 2009 11:05:30 -0800 (PST) Received: by 10.141.137.10 with HTTP; Thu, 15 Jan 2009 11:05:30 -0800 (PST) Message-ID: Date: Thu, 15 Jan 2009 11:05:30 -0800 From: "Hanson Char" To: "Commons Users List" Subject: Re: Log4j - Logging a single method In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_124363_4148861.1232046330147" References: X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_124363_4148861.1232046330147 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I guess it's possible, but would be expensive since that would entail examining the call stack. Hanson On Thu, Jan 15, 2009 at 11:00 AM, Hern=E1n Pablo Leandro Seoane < hseoane@gmail.com> wrote: > Hi everyone, > I'm trying to configure Log4j so that the output of the logger for a > specific method of a certain class goes to a separate file. > I know that it can be configured to log a specific package or class, but = is > it possible to push it down to a method level? > > Thanks! > Hernan > ------=_Part_124363_4148861.1232046330147--