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

Enabling Spring Logging

 
Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Spring in my web application , I enabled Spring by adding


to the web.xml. Please is there a way to configure Spring in such a way that i can view the Beans it is loading
 
Christian Gossart
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should configure log4j with Spring in INFO level:


The search for this kind of output in the log when the server starts:



The last line lists the beans from the BeanFactory.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic