-
-
Save jrichardsz/afbe8914539f03576fcc to your computer and use it in GitHub Desktop.
Direct Spring log4j path configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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