It may be simple enough just to encapsulate the method with a new class, if
you have access to the source code.

On Thu, Jan 15, 2009 at 12:35 PM, Ralph Goers <[email protected]>wrote:

> You'd probably get a better answer on a log4j list. If you have the ability
> to modify the source then I would just have that method get its own Logger.
>
>
> On Jan 15, 2009, at 11:00 AM, Hernán Pablo Leandro Seoane 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
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to