We are using liferay for our portal with tomcat and found out we have a dependancy jar that is using the follwing spring configuration
Code:
<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>classpath:log4j.properties</value>
			</list>
		</property>
	</bean>
There is a couple issues with it one is the classpath and it needs to include a package but the issue I need help with is that it is overriding my existing log4j.xml and changing the appender to the one listed in whatever log4j. properties file It can. Any ideas? They want to keep the above bean because it allows log4j to work from command line...