Re: Why log4j logs to ${TOMCAT}/bin?

2005-11-18 Thread Chen Jerry
Dear Jacob, Your explanation clear me up. Thank you very much! Jerry 2005/11/19, Jacob Kjome <[EMAIL PROTECTED]>: > > Quoting Chen Jerry <[EMAIL PROTECTED]>: > > > Hi All, > > > > I use log4j in my app, expecting messages logged to > > ${TOMCAT}/webapps/jsp-examples/WEB-INF/classes/mylog.txt, >

Re: Why log4j logs to ${TOMCAT}/bin?

2005-11-18 Thread Jacob Kjome
Quoting Chen Jerry <[EMAIL PROTECTED]>: > Hi All, > > I use log4j in my app, expecting messages logged to > ${TOMCAT}/webapps/jsp-examples/WEB-INF/classes/mylog.txt, > so I leverage a FileAppender, whose file is set to ./mylog.txt. > When the following code is tested in Win2000/JDK1.4.2_07/Tomcat5

Why log4j logs to ${TOMCAT}/bin?

2005-11-18 Thread Chen Jerry
Hi All, I use log4j in my app, expecting messages logged to ${TOMCAT}/webapps/jsp-examples/WEB-INF/classes/mylog.txt, so I leverage a FileAppender, whose file is set to ./mylog.txt. When the following code is tested in Win2000/JDK1.4.2_07/Tomcat5.0.28(zip), I was astonished to find that mylog.txt