This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes on-line!
See this thread for details.
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


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
 
Consider Paul's rocket mass heater.
 
subject: When log4j doesn't log