File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

When log4j doesn't log

 
Max Bean
Ranch Hand
Posts: 31
  • 0
  • 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
  • 0
  • 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 ?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic