Skip to content

Instantly share code, notes, and snippets.

Created September 30, 2010 21:34
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
beans = {
log4jConfigurer(org.springframework.beans.factory.config.MethodInvokingFactoryBean) {
targetClass = "org.springframework.util.Log4jConfigurer"
targetMethod = "initLogging"
arguments = ["classpath:myapp/"]
<bean id="log4jConfigurer" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="targetClass"><value>org.springframework.util.Log4jConfigurer</value></property>
<property name="targetMethod"><value>initLogging</value></property>
<property name="arguments">
<!-- or you could use an absolute path: <value>file:D:\\etc\\myapp\\</value> -->
<!-- Comment this out!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment