File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Java in General
Bookmark "log4j debug switch" Watch "log4j debug switch" New topic

log4j debug switch

DK Taylor

Joined: Mar 17, 2005
Posts: 22
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:

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

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
subject: log4j debug switch
It's not a secret anymore!