RE: Tomcat logging technical tips and software
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 software It took a number of hours to get Apache Tomcat version 5.0.27 and Apache Velocity 1.4 to create log files the way I wanted them for a production environment using Log4j. I looked around the Internet and couldn't find a document that pulled this all together, so I wrote one up. If anyone is interested, please visit: http://minaret.biz/tips/tomcatLogging.html I also wrote a custom Log4j appender that works in the same manner as the Tomcat FileLogger. That is available here: http://minaret.biz/tips/datedFileAppender.html Enjoy. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Logging.. whats the best way ?
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 adjust its logging level) 3) It's not system.out (which may not always be under your control) -Original Message- From: Ben Bookey [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 22, 2004 10:02 AM To: Tomcat User List Subject: Tomcat Logging.. whats the best way ? Dear List, We have written a webapp, and now I want to add some logging inside. The app has jsp pages, servlets and a java package of classes for jdbc database interaction. O.k. as I understood Tomcat does support logging via, catalina.out etc. The logfile can even be configured based on each web descriptor web.xml file. This seems quite flexible until you want to start monitoring whats going on inside of the com.package, not just inside the servlet container. So it seems to me that we need to create/use a logger class (e.g. log4j) for the package. Am i right in understanding that its normal-case to use a log4j type method of logging denug info for internal purposes. Its not recommended to use JUST Tomcat logging for the complete web app.? Would appreciate any view, regards BB - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Logging.. whats the best way ?
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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Logging.. whats the best way ?
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 context log file for the application? So use the ServletContextLogAppender from the logging-log4j-sandbox... http://cvs.apache.org/viewcvs.cgi/logging-log4j-sandbox/src/java/org/apache/log4j/servlet/ServletContextLogAppender.java See also: http://nagoya.apache.org/wiki/apachewiki.cgi?Log4JProjectPages/AppContainerLogging Jake - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat logging and the referer
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 referer. Jon RJ wrote: Hello all: After my wonderful experience getting standalone tomcat with SSL running non-root today, there's only one hitch: 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 thoughts on how I can get that to show? rj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat logging and the referer
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 thoughts on how I can get that to show? I'm not seeing any problem with this, on TC4.1.29. Are you sure the blank referers are *not* users just typing the URL (or bots)? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat logging and java.util.logging
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 ability to write to this logger in my context. Instead, java.util.logging logs to the file I specify (or a default) in its own configuration file. How come log4j was able to direct logging to the tomcat logger above? My guess: because log4j is better and has features specifically tailored for servlet context logging? Can anybody shed some light on this situation? Light? No. Suggestion? Yes: reverse your switch and use log4j. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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 somewhere, not in common/lib, common/classes, shared/lib, or shared/classes. Yoav Shapira Millennium ChemInformatics -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 7:53 AM To: [EMAIL PROTECTED] Subject: Tomcat logging loads of rubbish Tomcat seems to be churning out loads of logging into my web application's log file (configured with Log4J) I have included a sample here...where can I turn this all off .. I am not sure why it is all coming through into my application log. 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - startElement(,,servlet-name) 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Pushing body text '' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - New match='web-app/servlet-mapping/servlet-name' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Fire begin() for CallParamRule[paramIndex=1, attributeName=null, from stack=false] 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - characters(default) 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - endElement(,,servlet-name) 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - match='web- app/servlet-mapping/servlet-name' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - bodyText='default' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Fire body() for CallParamRule[paramIndex=1, attributeName=null, from stack=false] 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Popping body text '' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Fire end() for CallParamRule[paramIndex=1, attributeName=null, from stack=false] 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - ignorableWhitespace() 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - ignorableWhitespace( ) 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - ignorableWhitespace() 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - startElement(,,url-pattern) 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Pushing body text '' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - New match='web-app/servlet-mapping/url-pattern' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Fire begin() for CallParamRule[paramIndex=0, attributeName=null, from stack=false] 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - characters(/) 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - endElement(,,url-pattern) 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - match='web- app/servlet-mapping/url-pattern' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - bodyText='/' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Fire body() for CallParamRule[paramIndex=0, attributeName=null, from stack=false] 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Popping body text '' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Fire end() for CallParamRule[paramIndex=0, attributeName=null, from stack=false] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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 no idea where it is coming from. -Original Message- From: 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 somewhere, not in common/lib, common/classes, shared/lib, or shared/classes. Yoav Shapira Millennium ChemInformatics -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 7:53 AM To: [EMAIL PROTECTED] Subject: Tomcat logging loads of rubbish Tomcat seems to be churning out loads of logging into my web application's log file (configured with Log4J) I have included a sample here...where can I turn this all off .. I am not sure why it is all coming through into my application log. 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - startElement(,,servlet-name) 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Pushing body text '' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - New match='web-app/servlet-mapping/servlet-name' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Fire begin() for CallParamRule[paramIndex=1, attributeName=null, from stack=false] 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - characters(default) 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - endElement(,,servlet-name) 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - match='web- app/servlet-mapping/servlet-name' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - bodyText='default' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Fire body() for CallParamRule[paramIndex=1, attributeName=null, from stack=false] 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Popping body text '' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Fire end() for CallParamRule[paramIndex=1, attributeName=null, from stack=false] 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - ignorableWhitespace() 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - ignorableWhitespace( ) 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - ignorableWhitespace() 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - startElement(,,url-pattern) 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Pushing body text '' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - New match='web-app/servlet-mapping/url-pattern' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Fire begin() for CallParamRule[paramIndex=0, attributeName=null, from stack=false] 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - characters(/) 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - endElement(,,url-pattern) 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - match='web- app/servlet-mapping/url-pattern' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - bodyText='/' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Fire body() for CallParamRule[paramIndex=0, attributeName=null, from stack=false] 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Popping body text '' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Fire end() for CallParamRule[paramIndex=0, attributeName=null, from stack=false] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http
RE: Tomcat logging loads of rubbish
Howdy, It's coming from tomcat, which is picking up your log4j or commons-logging configuration. Are you using commons-logging in your webapp? Yoav Shapira Millennium ChemInformatics -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Wednesday, 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 loads of other stuff that I do not want. I have no idea where it is coming from. -Original Message- From: 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 somewhere, not in common/lib, common/classes, shared/lib, or shared/classes. Yoav Shapira Millennium ChemInformatics -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 7:53 AM To: [EMAIL PROTECTED] Subject: Tomcat logging loads of rubbish Tomcat seems to be churning out loads of logging into my web application's log file (configured with Log4J) I have included a sample here...where can I turn this all off .. I am not sure why it is all coming through into my application log. 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - startElement(,,servlet-name) 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Pushing body text '' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - New match='web-app/servlet-mapping/servlet-name' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Fire begin() for CallParamRule[paramIndex=1, attributeName=null, from stack=false] 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - characters(default) 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - endElement(,,servlet-name) 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - match='web- app/servlet-mapping/servlet-name' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - bodyText='default' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Fire body() for CallParamRule[paramIndex=1, attributeName=null, from stack=false] 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Popping body text '' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Fire end() for CallParamRule[paramIndex=1, attributeName=null, from stack=false] 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - ignorableWhitespace() 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - ignorableWhitespace( ) 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - ignorableWhitespace() 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - startElement(,,url-pattern) 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Pushing body text '' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - New match='web-app/servlet-mapping/url-pattern' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Fire begin() for CallParamRule[paramIndex=0, attributeName=null, from stack=false] 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - characters(/) 12:50:12,680 - DEBUG org.apache.commons.digester.Digester.sax - endElement(,,url-pattern) 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - match='web- app/servlet-mapping/url-pattern' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - bodyText='/' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Fire body() for CallParamRule[paramIndex=0, attributeName=null, from stack=false] 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Popping body text '' 12:50:12,680 - DEBUG org.apache.commons.digester.Digester - Fire end() for CallParamRule[paramIndex=0, attributeName=null, from stack=false] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system
RE: Tomcat Logging.
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. Tim Hughes -Original Message- From: John Clark Naldoza y Lopez [mailto:[EMAIL PROTECTED]] Sent: 6. juli 2001 08:56 To: [EMAIL PROTECTED] Subject: Tomcat Logging. Hi, Can someone please direct me to some info on how to turn off logging in tomcat? v3.2.2 Thanks in advance. Cheers, John Clark -- /) John Clark Naldoza y Lopez (\ / )Software Design Engineer II ( \ _( (__ Web-Application Development_) )_ (((\ \ /_Cable Modem Network Management System _\ / /))) ( \_/ / NEC Telecom Software Phils., Inc. \ \_/ ) \ / \ / \_/ phone: (+63 32) 233-9142 loc. 3112\_/ / / cellphone: (+63 919) 399-4742 \ \ / / email: [EMAIL PROTECTED]\ \ This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
RE: tomcat logging
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]] Sent: Thursday, 7 June 2001 4:47 PM To: [EMAIL PROTECTED] Subject: tomcat logging I am running tomcat as a standlone web server in Windows NT. I know that tomcat does not support access log. I just wonder is there anyway to work around this problem without using Windows version of Apache. Thanks TK
RE: tomcat logging
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 with tomcat direct stdout to std.out and direct stderr to append stdout ) hope this helps warren -Original Message- From: Scott Knight [mailto:[EMAIL PROTECTED]] Sent: Thursday, 7 June 2001 5:52 AM 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 this is done somewhere in the server.xml file? I have the defautl server.xml file, does anyone know what i need to change to get everything to be logged. Thanks Scott Knight
RE: tomcat logging
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 [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 this is done somewhere in the server.xml file? I have the defautl server.xml file, does anyone know what i need to change to get everything to be logged. Thanks Scott Knight
Re: tomcat logging
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 looking at the page for resin (http://www.caucho.com/products/resin/java_tut/debug.xtp) which is anohter jsp engine. In the url above, it mentioned that resin supports logging/tracing of program execution. This would be most useful for debugging of an application me thinks... Does tomcat have any kind of support that is similar to this? If so, how do i use it? thanks! Jason _ http://store.yahoo.com.au - Yahoo! Store - The fastest, easiest way to open an online store. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: tomcat logging
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 most useful for debugging of an application me Does tomcat have any kind of support that is similar to this? If so, how do i use it? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Tomcat Logging
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 --- Steven Rice [EMAIL PROTECTED] wrote: I need more details on the Tomcat logging, could someone please direct me to a detail doc about the way tomcat handle logging. I couldn't find anything in detail and I don't know java that well. Thanks, Steven Rice __ Do You Yahoo!? Yahoo! Calendar - Get organized for the holidays! http://calendar.yahoo.com/