logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From log4jlog4j <mail2giten...@yahoo.co.in>
Subject Re: Log4j debug for one method in application
Date Tue, 29 Mar 2011 18:13:51 GMT


Thanks a lot. This is what I was lokking and able to implement this and
seeing it working.


Jacob Kjome wrote:
> 
> 
> 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.
> 
> Jake
> 
> 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 this message in context: http://old.nabble.com/Log4j-debug-for-one-method-in-application-tp31261571p31270197.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


Mime
View raw message