File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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