Hi,
I've added this to the Tomcat FAQ. Thanks for contributing it.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: minaret [mailto:[EMAIL PROTECTED]
>Sent: Monday, September 06, 2004 12:23 AM
>To: [EMAIL PROTECTED]
>Subject: Tomcat logging technical tips and sof
Quoting Benson Margulies <[EMAIL PROTECTED]>:
> Sure, but the other question is this:
>
> ServletContext.log allows a webapp to log. Wouldn't It Be Nice if that
> same log was somehow available to any old bit-o-java when running in the
> environment?
>
So, you want all logging to go to the serv
Sure, but the other question is this:
ServletContext.log allows a webapp to log. Wouldn't It Be Nice if that
same log was somehow available to any old bit-o-java when running in the
environment?
-
To unsubscribe, e-mail: [EMAIL
I believe that it's 'normal' to use a logging package, rather than
system.out to perform debug logging. A package like log4j has many
advantages including:
1) It's popular (so you get support and lots of people can help)
2) It's super-configurable (you can turn each class/package on or off,
or adj
Extract from the HTTP spec:
"The Referer field MUST NOT be sent if the Request-URI
was obtained from a source that does not have
its own URI, such as input from the user keyboard."
http://www.w3.org/Protocols/rfc2616/rfc2616.txt
So unless someone links to your index page you'll probably never get a
RJ wrote:
I'm using the combined log format, and it seems to be OK,
except that on the first hit on my site (to the static
index.html page) the referer field is always "-".
Subsequent hits from pages within the site show the correct
referer, but my main interest is that initial one.
Anybody have an
Howdy,
>In my webapp's context I configured a logger:
>
> prefix="localhost_gargantus_log."
> suffix=".txt"
> timestamp="true" />
>
>I changed over from using log4j to using the native java.util.logging
>package, and I have lost the ability to write to this logger in my
>cont
day, August 27, 2003 10:00 AM
>To: Tomcat Users List
>Subject: RE: Tomcat logging loads of rubbish
>
>My logging is working OK. My Log4j is in web-inf/lib and the log4j
>properties is is web-inf/classes.
>
>The problem is that for some reason the log output includes my stuff
AND
: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 27 August 2003 14:41
To: Tomcat Users List
Subject: RE: Tomcat logging loads of rubbish
Howdy,
Make sure log4j.jar is in your webapp's WEB-INF/lib directory (not
shared/lib or common/lib). Make sure your log4j configuration file is
under your w
Howdy,
Make sure log4j.jar is in your webapp's WEB-INF/lib directory (not
shared/lib or common/lib). Make sure your log4j configuration file is
under your webapp somewhere, not in common/lib, common/classes,
shared/lib, or shared/classes.
Yoav Shapira
Millennium ChemInformatics
>-Original
Hi,
I am not sure about this but I think that one of the following should work:
- if you just comment out the lines related to logging in conf/server.xml
- or if you take out the path attribute from the logging elements in
conf/server.xml
then logging will be disabled.
~
hey,
i thought tomcat had a combine logging mechanism see server.xml
you'll get more than you bargain 4 if you try apache & mod_k & tomcat on
windows ( just have a look at the list 2 c what i mean )
=)
regards,
warren
-Original Message-
From: Terence Kwan [mailto:[EMAIL PROTECTED]
In server.xml,
-Original Message-
From: Scott Knight [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 23:52
To: [EMAIL PROTECTED]
Subject: tomcat logging
Currently when tomcat is running a lot of info is going to stdout,
Id
rather have it all logged. I think
mmm.. scott,
if your running tomcat 3.2 or tomcat4.0 you have various control over the
logs that tomcat produce.. however i think stdout is a java & os thing and
tomcat doesn't replace this ( correct me i'm probably wrong )
the best procedure for you is to java tomcat %1 > std.out >2&1 ( run jav
resin is a very good product, i am using tomcat but i am thiking to pass to
resin
- Original Message -
From: "teh j" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 09, 2001 12:13 AM
Subject: tomcat logging
> hi guys
>
> just wondering if somebody can help me out
>
> i wa
You might want to look at using Log4j - it appears to be supported in Tomcat, and
provides highly configurable logging very easily. Log4j is another Jakarta
subproject.
Anuj.
teh j wrote:
> In the url above, it mentioned that resin supports
> logging/tracing of program execution. This would be
Hi there,
I wonder if there is any more information available on
this subject.
I am looking into configuring the Tomcat 3.1 logger so
that the log file DOES NOT get overwritten on restart
and also to get some timestamps genereted
automatically.
What else is available in Tomcat 3.1 ???
TIA
Drasko
17 matches
Mail list logo