camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiangqiuzhao <xiangqiuz...@gmail.com>
Subject why camel can't use log4j.xml
Date Tue, 20 Sep 2011 11:31:12 GMT
i use log4j.xml in my project classpath, content like:

<log4j:configuration>

	<appender name="camel" class="org.apache.log4j.RollingFileAppender">
		
		
		
		<layout class="org.apache.log4j.PatternLayout">
			
		</layout>
		<filter class="org.apache.log4j.varia.LevelRangeFilter">
			
			
			
		</filter>
	</appender>

<category name="org.apache.camel" additivity="false">
        <priority value="debug"/>
        <appender-ref ref="camel"/>
        <appender-ref ref="camelerror"/>
        <appender-ref ref="camelstdoutd"/>
    </category>

    <root>
        <priority value="all"></priority>
        <appender-ref ref="async"/>  
    </root>
</log4j:configuration>

why can't logging the debug info into the camel.log file?

--
View this message in context: http://camel.465427.n5.nabble.com/why-camel-can-t-use-log4j-xml-tp4822172p4822172.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message