Mine is in tomcat/bin.
Did you scan your drive to try and find it?

Try setting TOMCAT_OPTS="-Dlog4j.debug"
for tomcat3 (or use CATALINA_OPTS for tomcat 4).
It outputs lots of info which should at least show you
if the property file is getting parsed as you expect.

Also try adding a ConsoleAppender and see if you
see something on stdout (in tomcat4 you would find it
in logs/catalina.out).

You might also ask the log4j mailing list instead.
- Dan

----- Original Message ----- 
From: "Maxime Colas des Francs" <[EMAIL PROTECTED]>
Sent: Tuesday, October 01, 2002 9:56 AM


> tks
> i'm sorry but where can i find the log file ?
> 
> my logj4.properties in WEB-INF/classes:
> log4j.rootCategory=DEBUG, htmlFile
> log4j.appender.htmlFile.layout=org.apache.log4j.HTMLLayout
> log4j.appender.htmlFile=org.apache.log4j.DailyRollingFileAppender
> log4j.appender.htmlFile.DatePattern='.'yyyy-MM-dd
> log4j.appender.htmlFile.File=myapp-log.html
> 
> for a test in a jsp, i put these lines :
> 
> Category log = Category.getInstance("LOG");
> PropertyConfigurator.configure("log4j.properties");
> log.info("log sentence");
> 
> it's executed but no file created.



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to