aspose file tools*
The moose likes Java in General and the fly likes log4j debug switch Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "log4j debug switch" Watch "log4j debug switch" New topic
Author

log4j debug switch

DK Taylor
Greenhorn

Joined: Mar 17, 2005
Posts: 22
Greetings,
I can see that log4j has an "IsDebugEnabled" flag.
So far I can't find anything that tells me how to turn it on!

Any help would be appreciated.


Thanks,<br />Dana
Tim West
Ranch Hand

Joined: Mar 15, 2004
Posts: 539
While I'm not familiar with the flag itself, I'd wager that (with XML-based configuration), you are looking for the following:




-Tim
[ June 13, 2005: Message edited by: Tim West ]
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Moving to Other Open Source Projects...


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: log4j debug switch