*
The moose likes Tomcat and the fly likes When log4j doesn't log Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "When log4j doesn Watch "When log4j doesn New topic
Author

When log4j doesn't log

Max Bean
Ranch Hand

Joined: Mar 09, 2006
Posts: 31
I have a chunck of classes in package lab.blah.blah.blah.....

and set the log4j.properties to be

log4j.logger.lab.blah.blah.blah=DEBUG.

I notice some classes which contain log.debug(blah blah) in them don't do the right thing, they keep quiet.

What can cause that probe?

Many thnx
Max
Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2308
Is it log.debug("blah blah") instead of log.debug(blah blah) ?
How are you getting log ?


Rahul Bhattacharjee
LinkedIn - Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: When log4j doesn't log