logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msg2ajay <msg2a...@gmail.com>
Subject can't see .log file with log4j
Date Fri, 14 Mar 2008 04:18:18 GMT

        I have configured %CATALINA_HOME%  and i have place INFO in my code,
I can see INFO log in Tomcat console, but as I configured to
"${catalina.home}/MQLog/info/info.log" for "file" I can't see the log file
after running my application.

my log4j.xml file is as below.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd" >
	<!-- INFO -->
	<appender name="info"
		<layout class="org.apache.log4j.PatternLayout">
		<filter class="org.apache.log4j.varia.LevelRangeFilter">
		<appender-ref ref="info"/>

Is there any thing i need to configure additionally.


View this message in context: http://www.nabble.com/can%27t-see-.log-file-with-log4j-tp16044159p16044159.html
Sent from the Log4j - Users mailing list archive at Nabble.com.

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message