jQuery in Action, 3rd edition
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: http://aspose.com/file-tools
subject: Enabling Spring Logging
jQuery in Action, 3rd edition