log4j is identifying ${java.home} but not ${catalina.home} or ${jboss.home}for placing .log files....!!!!
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Tuesday, March 18, 2008 04:25 AM

Hello Friends, my Env Variables and Path: JAVA_HOME D:MQSjdk1.5.0_03 CATALINA_HOME D:MQSServersTomcat 5.0 path : %JAVA_HOME% in;%CATALINA_HOME% in; When i run my class it is creating debug.log in JDK but it failing to create a log file folder in Tomcat.. why ? any idea....!! my log4j.xml is as below: <?xml version="1.0" encoding="UTF-8"?> class="org.apache.log4j.RollingFileAppender"> value="%d{ABSOLUTE} %10p %c{10}:%L - %m%n" />    More>>


Hello Friends,


my Env Variables and Path:



JAVA_HOME
D:MQSjdk1.5.0_03



CATALINA_HOME
D:MQSServersTomcat 5.0



path : %JAVA_HOME% in;%CATALINA_HOME% in;




When i run my class it is creating debug.log in JDK but it failing to create a log file folder in Tomcat.. why ? any idea....!!

			
my log4j.xml is as below:

<?xml version="1.0" encoding="UTF-8"?>



class="org.apache.log4j.RollingFileAppender">






value="%d{ABSOLUTE} %10p %c{10}:%L - %m%n" />












Ajay    <<Less
About | Sitemap | Contact