commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Christian" <robertjchrist...@gmail.com>
Subject Re: Log4j - Logging a single method
Date Thu, 15 Jan 2009 20:51:08 GMT
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 <ralph.goers@dslextreme.com>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: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message