logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject Re: Log4j debug for one method in application
Date Tue, 29 Mar 2011 04:40:32 GMT

You could set it to debug for a specific class logger without issue, no?  Wouldn't
you be using that same logger for all methods in the class anyway?  Otherwise,
create multiple logger named after the class and method and enable debug for the
one you care about.


On 3/28/2011 1:46 PM, log4jlog4j wrote:
> Hi,
> Just want to check can we set debug for any specific method in the
> applciation using log4j. This will be very useful if we have this feature in
> log4j so trying to check on this. 
> I have a application running on production and to check on one very
> complicated issue want to check if we can set debug for any specific method.
> Due to volume and performance we dont want to do debug at applciation level
> on production and we are not able to reproduce that on our test environment. 

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message