RE: log files with servlets ?

2005-05-25 Thread Steve Kirk
For how to set up logging of your Java servlet code on 5.0.28, you need to add a Logger to your conf/server.xml file, inserting it inside your Host.../Host or Engine.../Engine tags will probably get you going. To get apache-httpd type logging going, you need a Valve, again insert it within your

RE: log files with servlets ?

2005-05-25 Thread rusty+tomcat
If you don't want to mess with your server.xml file, or you're a mere user and can't, you can do it easily with Apache log4j. Create the following file, log4j.properties and put it in your WEB-INF/classes directory. This will create a log file in /var/tmp named logtags.log. The docs for log4j

RE: log files

2001-07-06 Thread Randy Layman
Built in to Tomcat, no and no. It is possible to rotate logs by using some scripting and stopping/starting the server. I don't believe there is any way to limit the log file size without modifying the Tomcat source. Randy -Original Message- From: John

RE: log files in tomcat

2001-01-31 Thread Garmaev, Vladimir A
There should be two more logs: jvm.stderr jvm.stdout The latter is logging System.out.println -Original Message- From: Ross Manges [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 1:44 PM To: [EMAIL PROTECTED] Subject: log files in tomcat Hello folks, I apologize in

Re: log files in tomcat

2001-01-31 Thread Shahed Ali
I have modified my tomcat.sh/bat file to have java org.apache.whatever.tomcat start 1/path/to/logs/stdout.log 21 So when you startup tomcat , the stdout and stderr go to a file. But since you are using windows, I am not very sure about the syntax. just a file.log may redirect both

RE: log files in tomcat

2001-01-31 Thread Ignacio J. Ortega
The solution it's on server.xml file it self, here it's an excerpt... 8-- !-- if you don't want messages on screen, add the attribute path="logs/tomcat.log" to the Logger element below --

RE: log files in tomcat

2001-01-31 Thread CPC Livelink Admin
(I think)) or b) programatically change the stream pointed to by System.out and .err to something else which you have opened. -Original Message- From: Jason Pell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 8:09 PM To: [EMAIL PROTECTED] Subject: Re: log files in tomcat I

Re: log files in tomcat

2001-01-31 Thread Jason Pell
and stderr are much the same (I think)) or b) programatically change the stream pointed to by System.out and .err to something else which you have opened. -Original Message- From: Jason Pell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 8:09 PM To: [EMAIL PROTECTED] Subjec

RE: log files

2001-01-03 Thread Kitching Simon
Tomcat 4 generates "access logs" of the kind you need Tomcat 3.2 does not. If you are using tomcat 3.2, either use a webserver like apache as a front-end (apache does generate access logs) or upgrade to tomcat 4. For more information, search the email archives, as this question has been asked