nt: Wednesday, September 21, 2005 11:55 AM
> > To: Tomcat Users List
> > Subject: Re: stop tomcat's logging in application's log
> >
> >
> > On 9/21/05, rahul <[EMAIL PROTECTED]> wrote:
> > >
> > > hi,
> > >
> &
log4j.jar is in webapps/MyApp/WEB-INF/lib
> -Original Message-
> From: Anto Paul [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 21, 2005 11:55 AM
> To: Tomcat Users List
> Subject: Re: stop tomcat's logging in application's log
>
>
> On 9/21/0
On 9/21/05, rahul <[EMAIL PROTECTED]> wrote:
>
> hi,
>
> I am using Log4j in application for logging.
> I have placed log4j configuration file(log4j.xml) in my
> application's WEB-INF/classes folder.
>
> But the file in which I am taking all logs is fille
hi,
I am using Log4j in application for logging.
I have placed log4j configuration file(log4j.xml) in my
application's WEB-INF/classes folder.
But the file in which I am taking all logs is filled with tomcat's log
along with my application's log.
Is there any way I
hi,
ours is a simple jsp / bean classes rendered over tomcat. we still still in
tomcat 3.xx version, in the process of migrating to tomcat 5 ( which is a long
project) and would have a handle to all the calls.
so at the moment, i have to log what users are doing and i was thinking a non
b
Ouch, sorry!
Should have done my homework better.
Thanks
Trond
-Original Message-
From: GB Developer [mailto:[EMAIL PROTECTED]
Sent: Friday, September 02, 2005 21:24
To: 'Tomcat Users List'
Subject: RE: Tomcat5.5 and Logging
http://jakarta.apache.org/tomcat/tomc
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html
> -Original Message-
> From: Trond Hersløv [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 02, 2005 2:06 PM
> To: Tomcat Users List
> Subject: Tomcat5.5 and Logging
>
>
> Hi,
> what happend with
Hi,
what happend with the Logging component form TC5.0?
I used to include a inside to get
my logging going.
How do I do this under TC5.5
Regards Trond
**
This email message has been swept by
MIMEsweeper for the presence of
Hi there,
I've migrated some days ago from Tomcat 4.1.27 to the lastest release:
5.5.9and I've lost all the logging mechanism of the my web
applications. The two
webapps deployed on my server use log4j as the logging mechanism. I now
there are differences in the logging system between
actually you don't *have* to use log4j, since 5.5.8/9 tomcat has shipped with a
customised jdk logging configuration (juli) that sets up a localhost log for
you out of the box
> -Original Message-
> From: Alain Gaeremynck [mailto:[EMAIL PROTECTED]
> Sent: 23 August 2
xt.log. However i rather liked the old
ways Is it stil supported?
if i put this in my context
will it still work?
No, it's not supported anymore. You can look at your logging options here:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html
--
Alain Gaeremynck
CT
>prefix="servlet." suffix=".log" timestamp="true" />
>
> will it still work?
No, it's not supported anymore. You can look at your logging options here:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html
--
xx
I read the doc and found out that in tomcat 5.5 we are suppose to use
log 4 j to handle getServletContext.log. However i rather liked the old
ways Is it stil supported?
if i put this in my context
will it still work?
--
Alain Gaeremynck
CTO Le Groupe Interstructure
(514) 374-1110
(51
PROTECTED]
Sent: Monday, August 22, 2005 11:40 PM
To: tomcat-user@jakarta.apache.org
Subject: Logging of illegal requests from Tomcat 5
Hi,
I am trying to log all illegal requests from Tomcat 5. By illegal
requests I mean those that have return status code other than 200, i.e..
404 (Page Not
Hi,
I am trying to log all illegal requests from Tomcat 5. By illegal
requests I mean those that have return status code other than 200, i.e..
404 (Page Not Found)
403 (Forbidden), 408 (Request Timeout). I am using log4j 1.2.9.
I display a custom error page for the above status codes and sho
hey folks,
i'm working on the VelocityTools project, and we've run into a bit of
an issue with our mutual use of commons-logging. If you read the
emails below, you'll see that the combination of Tomcat 5.5.9 and
VelocityTools 1.1 (or 1.2-dev) create a nasty little infinite lo
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 12, 2005 5:52 PM
> To: Tomcat Users List
> Subject: RE: NumberFormatException After Logging In To Admin Webapp
>
> > From: David Litterine-Kaufman [mailto:[EMAIL PROTECTED]
> > Subject: NumberFormatEx
> From: David Litterine-Kaufman [mailto:[EMAIL PROTECTED]
> Subject: NumberFormatException After Logging In To Admin Webapp
>
> I'm running Tomcat 4.1, sablevm 1.11.3, and struts 1.1 on
> Debian Sarge.
Have you tried this with a Sun 1.4 JDK or 5.0 JRE?
- Chuck
TH
Hi Tomcat Users:
I've googled for several days with no luck on this one. I'm not sure if
this is rightly a Tomcat question or a Debian question, so I apologize if
this is the wrong forum. I'm running Tomcat 4.1, sablevm 1.11.3, and struts
1.1 on Debian Sarge. Sablevm, Tomcat, struts, and the ad
===
Tomcat 5.5.10 Virtual Host example setup with log4j logging per host
===
I hope this can be of some use to those who are confused
Hi Robert,
The fact is that followed precisely the instructions do work. I *almost*
guarantee this because I walked through it just last week with a guy on a
vanilla Tomcat 5.5.9 install and I deal with Tomcat and logging daily.
The question is, what kind of logging do you want, because there
Really, this has been discussed to death on this mailing list. The 5.5 logging
page for a start gives you instructions for setting logging up. Also, I have a
blog at www.adcworks.com/blog that touches on 5.5 configuration and logging.
Allistair.
> -Original Message-
> From:
=true -Djava.endorsed.dirs=/var/tomcat
5/common/endorsed -classpath
:/var/tomcat5/bin/bootstrap.jar:/var/tomcat5/bin/commons-logging-api.jar:/us
r/java/jre/lib/mysql-connector-java-3.0.15-ga-bin.jar:/var/tomcat5/common/li
b/log4j-1.2.8.jar -Dcatalina.base=/var/tomcat5 -Dcatalina.home=/var/tomcat5
-Djava.io.t
Hi
We have a struts based web application running under Tomcat 4.1.12. There is
this random issue that happens with certain users. The user logs in using
the domain name, say http://www.xyz.com, he gets redirected to
https://www.xyz.com. After the user logs in, he gets kicked out back to
login
NF/classes/log4j.properties
log4j.logger.org.apache.catalina.core.ContainerBase.[Catalina].[localhost][/banana]=DEBUG,
R
Allistair.
> -Original Message-
> From: Scott Purcell [mailto:[EMAIL PROTECTED]
> Sent: 02 August 2005 14:49
> To: Tomcat Users List
> Subject: RE
-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 02, 2005 8:31 AM
To: Tomcat Users List
Subject: RE: Logging With Tomcat 5.5
Don't confuse "not understanding" with "not sufficient". The instructions do
lead to a correct configuration.
Don't confuse "not understanding" with "not sufficient". The instructions do
lead to a correct configuration. However, here it is more explicitly.
Allistair.
Per-webapp logging
==
1. Add log4j's jar to both your webapp's WEB-INF/lib folders
2
ebapps, or what this is implying.
I would like to get all Tomcat messages (errors, etc) and my actual logging all
in either one or two files per webapp.
Can someone please assist me in this? The readme just doesn't cut it, or I am
interpreting it wrongly. Or maybe there is an example s
cript's start argument path to not
append to catalina.out but to /dev/null. Besides turning all logging off, am I
doing something wrong without realising it?
Thanks,
Nik
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
t's start argument path to not
append to catalina.out but to /dev/null. Besides turning all logging off, am I
doing something wrong without realising it?
Thanks,
Nik
Hello,
I'm running Tomcat 4.1.x and would like to get some log info about DBCP.
Does someone know how I could turn DBCP's logging on ?
Thx
/bertrand
e.Then u can
> >>debug from there...
> >>
> >>HTH,
> >>Anoop
> >>
> >>On 7/4/05, Peter Verhoye <[EMAIL PROTECTED]> wrote:
> >>
> >>>Hi all,
> >>>
> >>>I must be getting stupid or so but the lo
er
Try and change the appender to be ConsoleAppender (please check the
name) - see if the output displays on the tomcat console.Then u can
debug from there...
HTH,
Anoop
On 7/4/05, Peter Verhoye <[EMAIL PROTECTED]> wrote:
Hi all,
I must be getting stupid or so but the logging in my we
TECTED]
cc:
04/07/2005 16:54 Subject: Re: Logging (Log4J)
with Tomcat 4.1.x
Please r
put displays on the tomcat console.Then u can
> debug from there...
>
> HTH,
> Anoop
>
> On 7/4/05, Peter Verhoye <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > I must be getting stupid or so but the logging in my webapp doesn't work
> > anymore.
> >
t; Hi all,
>
> I must be getting stupid or so but the logging in my webapp doesn't work
> anymore.
>
> I've the log4j.properties file in WEB-INF/classes
> log4j.jar is in WEB-INF/lib
>
> My properties are:
> #
> # Configures Log4j as the Tomcat system logger
&
Hi all,
I must be getting stupid or so but the logging in my webapp doesn't work
anymore.
I've the log4j.properties file in WEB-INF/classes
log4j.jar is in WEB-INF/lib
My properties are:
#
# Configures Log4j as the Tomcat system logger
#
#
# Configure the logger to output
,
in every virtualhost section logging defined by:
JkLogFile /var/log/apache/mod_jk.log
JkLogLevel info
JkRequestLogFormat "%w %T %b %V %p %U"
I was using mod_jk 1.2.6 before and mod_jk.log looked fine. This strange
behaviour I'm observing with 1.2.13 and 1.2.10.
Version 1.2.8 g
Hi,
We have the apache and tomcat integrated together in
our environment. We use tomcat 4.1.20 and Apache 2.0.
In our apache logs we keep seeing this error.
ERROR: can't receive the response message from tomcat,
network problems or tomcat is down. err=-1
We certainly know that the tomcat server w
And - I think - partially the time taken to send back the response.
Its the time for Servlet.service(...) to be processed. [Which includes
any middleware/application server and database processings]
Is the time recorded (using %D) includes time taken for
middleware/application server and databas
Its the time for Servlet.service(...) to be processed. [Which includes any
middleware/application server and database processings]
-Tim
TK wrote:
Is the time recorded (using %D) includes time taken for
middleware/application server and database processings?
On 6/7/05, Tim Funk <[EMAIL PROTEC
Is the time recorded (using %D) includes time taken for
middleware/application server and database processings?
On 6/7/05, Tim Funk <[EMAIL PROTECTED]> wrote:
> See
> http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/org/apache/catalina/valves/AccessLogValve.html
>
> In particula
See
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/org/apache/catalina/valves/AccessLogValve.html
In particular:
%D - Time taken to process the request, in millis
%T - Time taken to process the request, in seconds
Otherwise use a filter and rely on:
%{xxx}r
-Tim
TK wrote:
Hi,
I'm looking for ways to log server (Tomcat) responses so that I could
figure out the time taken (in ms) for Tomcat to process a client
request. The information I need to record include:
1. Request ID (e.g. client IP address and object requested),
2. Date and time (in ms) the request is receive
thank you all of you.
cristi
You can also just watch these on the fly with browser plug-ins:
IE: google for ieHTTPHeaders
Mozilla/FireFox: http://livehttpheaders.mozdev.org/index.html
Hello all
Is there any posibility of logging the HTTP headers ?
Thx.
Cristi
Am Freitag, 3. Juni 2005 11:46 schrieb Anto Paul:
> On 6/3/05, Markus Schönhaber <[EMAIL PROTECTED]> wrote:
> > Am Donnerstag, 2. Juni 2005 10:03 schrieb cristi:
> > > Hello all
> > >
> > > Is there any posibility of logging the HTTP headers ?
> >
them again?
Bernhard
-Ursprüngliche Nachricht-
Von: cristi [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 2. Juni 2005 10:04
An: Tomcat Users List
Betreff: Logging the HTTP headers
Hello all
Is there any posibility of logging the HTTP headers ?
Thx.
Cristi
On 6/3/05, Markus Schönhaber <[EMAIL PROTECTED]> wrote:
> Am Donnerstag, 2. Juni 2005 10:03 schrieb cristi:
> > Hello all
> >
> > Is there any posibility of logging the HTTP headers ?
>
> http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/valve.html#Request
Am Donnerstag, 2. Juni 2005 10:03 schrieb cristi:
> Hello all
>
> Is there any posibility of logging the HTTP headers ?
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/valve.html#Request%20Dumper%20Valve
Rega
Hi Cristi,
they are in the Apache Logfile anyway, why do you want to log them again?
Bernhard
> -Ursprüngliche Nachricht-
> Von: cristi [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 2. Juni 2005 10:04
> An: Tomcat Users List
> Betreff: Logging the HTTP headers
&g
Hello all
Is there any posibility of logging the HTTP headers ?
Thx.
Cristi
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have a double-logging problem, by which I mean that
some of my log messages get logged to two logfiles. I have only one
logfile configured using java.util.logging, but in some cases, the
same log message gets logged to the TC stdout log as well, which I don't
want. It's not the
nvoyé : vendredi 27 mai 2005 13:14
À : tomcat-user@jakarta.apache.org
Objet : Logging into rational database
Hallo,
I have sent this question yesterday but nobody responded. It's a short
question so please send me some information.
Is it possible to configure tomcat to log the access
On 5/27/05, David <[EMAIL PROTECTED]> wrote:
> Hallo,
>
>
>
> I have sent this question yesterday but nobody responded. It's a short
> question so please send me some information.
>
>
>
> Is it possible to configure tomcat to log the access log into a rational
> database? Is there an existing
I think there is a DBCP logger, but this is for the Java code logging
statements, rather than for the access log AFAIK.
Can't remember where I read this. Probably on the TC site, try starting
here:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/index.html
> -Original Message
That's all I wanted to know.
Thanks David
-Ursprüngliche Nachricht-
Von: Tim Funk [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 27. Mai 2005 13:30
An: Tomcat Users List
Betreff: Re: Logging into rational database
IIRC - there is a JDBCAccessLogValve - You may need to chec
IIRC - there is a JDBCAccessLogValve - You may need to check the javadocs on
its use.
-Tim
David wrote:
Hallo,
I have sent this question yesterday but nobody responded. It's a short
question so please send me some information.
Is it possible to configure tomcat to log the access log
It worked
Thanks a lot Mariano!
-Original Message-
From: Mariano [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 26, 2005 12:23 PM
To: 'Tomcat Users List'
Subject: RE: Help with reloading a servlet for log4j logging.
You must use
PropertyConfigurator.configureAndWatch(file
I have always used 2 ways of logging. Mainly I use java.util.logging
classes, including a custom Formatter that I wrote myself. I do not use
log4j. When my webapp first starts, the init() method of my own custom
Invoker servlet loads the config for my main logging code is loaded from
web.xml
logging.
Hi,
I am initializing Log4J system using an init servlet, which is loaded on
start-up (servlet name is Log4JInitServlet).
In web.xml I am pointing to the log4j.properties file using the
tag.
Problem
Now suppose I change some properties in log4j.properties file. (change
the
entire webcontext using
http://localhost/manager?reload=myLog4JApp.
I don't want to restart tomcat to restart the logging system.
Can this be done in tomcat?
I am using tomcat 4.x version, on win32/linux systems.
Thanks a lot in advance,
Subhro.
- Original Message -
From: "Jim Henderson" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Monday, May 23, 2005 2:01 PM
Subject: RE: confused about simple logging
>
> If I write to stdout where does that go?
>
> System.stdout.println(&quo
GOOD IDEA! I'll do that! (When this is done, I should have no logging at
all.)
-Original Message-
From: Steve Kirk [mailto:[EMAIL PROTECTED]
Sent: Monday, May 23, 2005 2:23 PM
To: 'Tomcat Users List'
Subject: RE: confused about simple logging
If you really reach your
t the seems to
be ignored unless it is in $CATALINA_HOME/conf/server.xml
I'm set now, but if anybody has information on per-context access logging it'd
sure help me troubleshoot.
I just took the Valve entry from a Host in my server.xml, stuck it
inside a ROOT.xml file changing
Sorry can't help you there. I was where you are now a year or more ago,
"fancy logging frameworks - too much hassle to learn for the simple logs
that I want". But I soon realised that it was more work, and quite a bit
more ugly, trying to do your own thing. I'd say bite th
Sent: Monday, May 23, 2005 1:46 PM
To: 'Tomcat Users List'
Subject: RE: confused about simple logging
Not sure, ut I think all the output streams are diverted to that file. It's
probably configurable. Don't know full detail to be honest. Best wasy is
try it and see.
ular.
>
> OK I'll take a quick stab and see if this gets you anywhere in the right
> direction.
>
> You mention two distinct types of logging. The 1st is the "hit" logging
> which is very similar to what you would get from apache httpd. This simply
> logs each inc
19:02
> To: Tomcat Users List
> Subject: RE: confused about simple logging
>
>
>
> If I write to stdout where does that go?
>
> System.stdout.println("Where does this get printed to?");
>
> I assume C:/tomcat.../log/stdout?
>
> -Original Message
: RE: confused about simple logging
Your confusion possibly arises because there are at least 2 types of logger
that you might mean, and 3 main choices for one of those at the moment,
although one of those 3 is deprecated and a second is probably becoming less
popular.
OK I'll take a quick stab
re in the right
direction.
You mention two distinct types of logging. The 1st is the "hit" logging
which is very similar to what you would get from apache httpd. This simply
logs each incoming request. This is achieved by adding a to your
%catalina_home%\conf\server.xml - you can embe
On Monday 23 May 2005 12:01, Caldarale, Charles R wrote:
> > From: Lane [mailto:[EMAIL PROTECTED]
> > Subject: confused about simple logging
> >
> > where on earth will a "hit" be recorded when I navigate to
> > http://localhost/helloworld/index.jsp ?
> From: Lane [mailto:[EMAIL PROTECTED]
> Subject: confused about simple logging
>
> where on earth will a "hit" be recorded when I navigate to
> http://localhost/helloworld/index.jsp ?
See if this is what you want:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/co
Hello.
I'm a bit confused about simple logging on tomcat 5.0. I've read much of the
FAQ at http://jakarta.apache.org/tomcat/faq/logging.html#builtIn but that
doesn't seem to address what I'm looking for, which is just routine mundane
daily activity.
For instance, if I
Tomcat 5.0.28, Fedora Core 1
Can I have a few recommendations about adding logs to port 8443, ssl? I
have a problem with SSL not responding. (http works but https does not
respond after some time.)
Regards,
Ben Kim
Developer
College of Education
Texas A&M University
I am running tomcat 5.5 on a java 1.5 vm.
I want to turn tomcat logging (via java.util logging) up for debugging but
if I set everything to FINEST there is so much logging that It takes far
too much time to start up. I am trying to trim down some of the excess
logging to make this more
If you have a servlet/jsp which uses java.util.logging. Logger.global
and use the global logger, the output seems to go nowhere.
For example the following jsp page only logs "printed".
<%
java.util.logging.Logger.global.severe("not printed");
java.util.logging.Logger.getLogger("foo").severe("
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html
Hello,
I have just read this document about tomcat 5.5 ability to use logger. >From
the example there show putting the log4j.properties into the common/classes
folder. But doing this of course, puts all logging here.
I rea
Hi,
Has anyone tried setting up tomcat logging using log4j or java
logging when running tomcat 5.5.9 in embedded mode? In tomcat 4.1, I
used FileLogger but this has changed in 5.5.9.
Any help would be appreciated...
Thanks,
Sandeep
Yes, rename the tomcat-juli.jar file disable it.
-Original Message-
From: Jonathan Eric Miller [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 14, 2005 2:34 PM
To: Tomcat Users List
Subject: Re: JULI and logging
I haven't tried it yet, but, I noticed that catalina.sh/bat, looks
ogging.config.file property if you passed it in as a system
> property.
It does not ignore it, but virtually no logging will go to the root logger.
--
x
Rémy Maucherat
Developer & Consultant
JBoss Group (Europe) SàRL
passed it in as a system
property.
handlers = java.util.logging.ConsoleHandler
java.util.logging.ConsoleHandler.level = ALL
Jon
- Original Message -
From: "Tran Hung-Phu-r50825" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'"
Sent: Thursday, April 14, 200
For tomcat 5.5.9. the default setting logs to both
Catalina.out and Catalina.-mm-dd.log files
My question are:
1) how to channel all startup messages to one file?
2) how to disable JULI (on by default)?
thanks
-
To unsub
Now I have logging working.
Using log4j-1.2.9
My application is 'hub'
put the properties file named log4j.properties in tc's classpath
(I use webapps/hub/WEB-INF/classes )
put the log4j-1.2.9.jar into webapps/hub/WEB-INF/lib
Init as follows:
//jakarta log4j
import org.apache.
do you have console appender included in your log4j config file?
comment it out.
On Mon, 2005-04-11 at 20:12, quentin.compson wrote:
> is this possible using context.xml or some other way? im using log4j but some
> output still goes to stdout (e.g System.out.println()).
>
> thx
>
>
> -
mcat 5.5.9 they
fixed up java.util.logging so that it can have different log files if that's
any consolation. I guess the best solution is to simply using the logging
APIs throughout and not use System.out for anything.
Jon
- Original Message -
From: "quentin.compson" <[EM
is this possible using context.xml or some other way? im using log4j but some
output still goes to stdout (e.g System.out.println()).
thx
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
Hello,
I am trying to get the logging to work for a webapp I am working on. I am using
Tomcat 5.5.7 and I am here:
http://localhost/tomcat-docs/logging.html
I followed the instructions but do not get what I assume is proper behavior.
1) created the "log4j.properties" file and pl
For the page:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html
For the sample log4j.properties file, I would recommend changing:
log4j.appender.R.File=${catalina.home}/logs/tomcat.log
To
log4j.appender.R.File=${catalina.base}/logs/tomcat.log
George Sexton
MH Software, Inc.
http:
ib, I'm using my own
static/classloader-based LoggerRepository, and this keeps Tomcat's logs
using their own LoggerRepository and a separate logging configuration.
I'm still not to where I want to be with this, but it's a far cry from
the out-of-the-box mess that occurs with l
f you are talking about messages logged by code within your webapp, is
it using the log4j API or the commons-logging API?
Regards,
Simon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I have a webapp in tomcat. I am using a separate Log4j.xml for it, in
its WEB-INF classes folder.
I've also put a Log4j.xml in TOMCAT_HOME/ common/classes and set it to
false so that I do not get the general Tomcat logs.
But even then my project logs are getting mixed with the TOMCAT logs.
I
I have been trying to get really serious about log4j in web apps.
I note that Tomcat (thanks to commons-logging) uses java.util.logging
*except* for loggers created while my web app's classloader is the
current contextual classloader -- at which point it suddenly uses log4j
(since my web app
Hi,
I have a webapp in tomcat. I am using a separate Log4j.xml for it, in
its WEB-INF classes folder.
I've also put a Log4j.xml in TOMCAT_HOME/ common/classes and set it to
false so that I do not get the general Tomcat logs.
But even then my project logs are getting mixed with the TOMCAT logs.
Is
I need some best practices advice regarding the use of Log4J, Commons
Logging, Tomcat 5.0.x, Digester, multiple third party support
applications (such as Jakarta Struts, Hibernate 3
(http://www.hibernate.org), Spring Framework
(http://www.springframework.org), and others.
For the past 2 years
I found the problem :
I was using a UserPrincipal and a RolePrincipal that had a case insensitive
equals() method. I was first adding the UserPrincipal with name "admin", and
then adding a RolePrincipal with name "Admin". The case insensitive equals()
implies that the Role was not added as
Hello !
I'm having problem with a JAAS authentication realm. I created a
LoginModule, configured it as explained in
http://forum.java.sun.com/thread.jspa?threadID=233317&tstart=0, defined the
permissions in my WEB-INF/web.xml ...
The log statements (System.out.println()) I have in my log
OK, thanks to your vote of confidence in the method, I dug further
and
discovered that my WEB-INF/classes/log4j.properties was never being
found. If I put the log4j.properties into the same jar (in
WEB-INF/lib) with the class that was instantiating the Logger, it
worked correctly.
That's extreme
Quoting Adrian Robert <[EMAIL PROTECTED]>:
> >> OK, thanks to your vote of confidence in the method, I dug further and
> >> discovered that my WEB-INF/classes/log4j.properties was never being
> >> found. If I put the log4j.properties into the same jar (in
> >> WEB-INF/lib) with the class that was
On Thu, 03 Mar 2005 12:11:27 -0500, Adrian Robert
<[EMAIL PROTECTED]> wrote:
> > That's extremely odd. What version of Tomcat are you running? That's
> > a bug
> > because WEB-INF/classes should be put in the classpath before jars in
> > WEB-INF/lib.
I agree it's very odd.
> This is 5.5.7, with
1 - 100 of 994 matches
Mail list logo