Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

When log4j doesn't log

 
Max Bean
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it log.debug("blah blah") instead of log.debug(blah blah) ?
How are you getting log ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic