This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes Enabling Spring Logging Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Enabling Spring Logging" Watch "Enabling Spring Logging" New topic

Enabling Spring Logging

Abiodun Adisa
Ranch Hand

Joined: Jan 17, 2002
Posts: 495
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

Joined: Mar 13, 2008
Posts: 34
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.

Christian Gossart
I agree. Here's the link:
subject: Enabling Spring Logging
jQuery in Action, 3rd edition