hello,
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.
---------------------------
[code]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd" >
<log4j:configuration>
<!-- INFO -->
<appender name="info"
class="org.apache.log4j.RollingFileAppender">
<layout class="org.apache.log4j.PatternLayout">
</layout>
<filter class="org.apache.log4j.varia.LevelRangeFilter">
</filter>
</appender>
<root>
<appender-ref ref="info"/>
</root>
</log4j:configuration>
[code]
Is there any thing i need to configure additionally.
ThanQ
Ajay.
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]