This week's book / license giveaways are in the JDBC and Relational Databases and Java in General forums.
We're giving away four copies each of PostGIS in Action and Java Advanced Topics Training and have the authors on-line!
See this thread and this one 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

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