RE: Tomcat logging technical tips and software

2004-09-07 Thread Shapira, Yoav
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

RE: Tomcat Logging.. whats the best way ?

2004-06-22 Thread Mike Curwen
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

RE: Tomcat Logging.. whats the best way ?

2004-06-22 Thread Benson Margulies
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

RE: Tomcat Logging.. whats the best way ?

2004-06-22 Thread Jacob Kjome
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 servlet

Re: Tomcat logging and the referer

2004-05-28 Thread Jon Wingfield
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

Re: Tomcat logging and the referer

2004-05-27 Thread Hassan Schroeder
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 any

RE: tomcat logging and java.util.logging

2004-01-27 Thread Shapira, Yoav
Howdy, In my webapp's context I configured a logger: Logger className=org.apache.catalina.logger.FileLogger 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

RE: Tomcat logging loads of rubbish

2003-08-27 Thread Shapira, Yoav
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

RE: Tomcat logging loads of rubbish

2003-08-27 Thread Allistair Crossley
: 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 webapp

RE: Tomcat logging loads of rubbish

2003-08-27 Thread Shapira, Yoav
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 loads of other stuff that I do not want. I have

RE: Tomcat Logging.

2001-07-06 Thread Hughes, Tim
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.

RE: tomcat logging

2001-06-07 Thread Warren Crossing
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]]

RE: tomcat logging

2001-06-06 Thread Warren Crossing
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 21 ( run java

RE: tomcat logging

2001-06-06 Thread Viksen Pillay Narrainen
In server.xml, !-- if you don't want messages on screen, add the attribute path=logs/tomcat.log to the Logger element below -- Logger name=tc_log verbosityLevel = DEBUG path=logs/tomcat.log / -Original Message- From: Scott Knight

Re: tomcat logging

2001-03-09 Thread Carlos
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 was

Re: tomcat logging

2001-03-08 Thread Anuj Agrawal
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

Re: Tomcat Logging

2000-11-14 Thread Drasko Kokic
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