This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Configuring SLF4J

 
Songezo Nkukwana
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, i have a Hibernate Java Application Tester which i use slf4j for my console output .... The loggers work fine but only display info within the application class. I have other classes on different packages using the same slf4j logger, but none of those are displayed ... My log4j.properties is placed under the src directory ... All my classes are situated on their respective packages and use slf4j, but only the class with main() method gets logged/display ... Any reason for that?

here's my log4j.properties



my application class



other classes not displayed ...


finding Member instance with property: does not get displayed
 
Rob Spoor
Sheriff
Pie
Posts: 20497
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to Other Open Source Projects.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic