Thanks for your help Chuck and I have started to suspect the
documentation a bit or something weird may be happening
~
Did you miss this part of the doc?
~
You would place a similar log4j.properties file in your web
application's WEB-INF/classes folder, and log4j1.2.8.jar into
WEB-INF/lib. Then
at java.util.logging.Level.parse(Level.java:336)
Any idea what this is?
M-
- Original Message -
From: Albretch Mueller [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Saturday, December 08, 2007 11:32 AM
Subject: Re: Still trying to log using org.apache.juli.FileHandler ...
Thanks
From: Albretch Mueller [mailto:[EMAIL PROTECTED]
Subject: Re: Still trying to log using org.apache.juli.FileHandler ...
OK, I think, this time I did follow the FM ;-) at:
But perhaps not all of it...
but when I declared a log4j.properties file inside of a webapp
no log file is created
@tomcat.apache.org
Sent: Friday, December 07, 2007 4:33 PM
Subject: Re: Still trying to log using org.apache.juli.FileHandler ...
I was curious as to the configuration that was being fed by the JVM
when you go:
~
catalian run
~
that was it:
~
$JRE_HOME\bin\java -verbose:class
I was curious as to the configuration that was being fed by the JVM
when you go:
~
catalian run
~
that was it:
~
$JRE_HOME\bin\java -verbose:class
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=$CATALINA_HOME\conf\logging.properties
while searching I also notice that as John Lennon said in imagine
I am not the only one ;-)
~
Why have they made so hard just going System.out.println( ...) in
your servlets code?
~
lbrtchx
-
To start a new topic, e-mail:
OK, I think, this time I did follow the FM ;-) at:
~
http://tomcat.apache.org/tomcat-6.0-doc/logging.html
~
1._ I did create a log4j.properties file and placed it in $CATALINA_HOME/lib
~
C:\cmllpz\prjx\java\GWB\tc\tc-6.0.14\libdir *.properties
Volume in drive C is IBM_PRELOAD
Volume Serial
From: Albretch Mueller [mailto:[EMAIL PROTECTED]
Subject: Re: Still trying to log using org.apache.juli.FileHandler ...
Context debug=99 reloadable=true crossContext=true
Logger className=org.apache.catalina.logger.FileLogger
directory=C:\cmllpz\prjx\java\GWB\logs
prefix=tc-6.0.14
~
/META-INF directory you say? Isn't /META-INF a special descriptor
folder in WAR files?
~
This is what I read from the latest final release of the Servlet Specification
~
// __ SRV.9.6 Web Application Archive File, page: 71
~
SRV.9.6 Web Application Archive File
Web applications can be
From: Albretch Mueller [mailto:[EMAIL PROTECTED]
Subject: Re: Still trying to log using org.apache.juli.FileHandler ...
/META-INF directory you say? Isn't /META-INF a special descriptor
folder in WAR files?
Yes, and also in expanded .war files. That's where Tomcat will look
/META-INF directory you say? Isn't /META-INF a special descriptor
folder in WAR files?
Yes, and also in expanded .war files. That's where Tomcat will look for
the context.xml file; read the doc:
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
~
I see! and thank you! The
From: Albretch Mueller [mailto:[EMAIL PROTECTED]
Subject: Still trying to log using org.apache.juli.FileHandler ...
But I am not able to log via the occassional System.out.println and
System.err.println even though I set swallowOutput=true in the web
apps WEB-INF/context.xml file
The
12 matches
Mail list logo