Skip to content

Instantly share code, notes, and snippets.

@jrichardsz
Created Oct 21, 2014
Embed
What would you like to do?
Direct Spring log4j path configuration
<bean id="log4jInitialization"
class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="targetClass"
value="org.springframework.util.Log4jConfigurer" />
<property name="targetMethod" value="initLogging" />
<property name="arguments">
<list>
<value>../../conf/log4j.properties</value>
</list>
</property>
</bean>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment