How do you log with verbosity?

2004-11-10 Thread Cervenka, Tom
The Logger component has a verbosity attribute but the ServletContext.log method doesn't. Now LoggerBase.log does. How do I access this object from a servlet or jsp? -Tom Cervenka University of Illinois - To unsubscribe, e-mail:

Tomcat belches out megabytes of white space during log rotation

2005-01-26 Thread Cervenka, Tom
I have this weird problem with an instance of tomcat 4.1.30 running on Windows Server 2003. Tomcat output (log messages) is directed into CATALINA_HOME/logs/catalina.out. Every 4 hours a little log rotation script runs while tomcat is active. It zips catalina.out into an archived logs folder and

Tomcat 4 logging on Windows

2005-01-27 Thread Cervenka, Tom
How do you configure Tomcat 4 on windows to redirect output to a filelogger type class the creates a new log file every day and releases old log file handles so the log can be rotated? I am talking about global output that normally goes to the console window, stdout and stderr, not context

RE: My very first servlet cannot be run

2005-01-28 Thread Cervenka, Tom
Change ACTION=/test.Log4jTester to ACTION=/log4j -Original Message- From: Van Den Bemt, Patrick (P.) [mailto:[EMAIL PROTECTED] Sent: Friday, January 28, 2005 2:08 AM To: tomcat-user@jakarta.apache.org Subject: FW: My very first servlet cannot be run Hi there, I have got an issue

RE: logging remote IP address

2005-01-28 Thread Cervenka, Tom
Mark, Why do want to know the internal NAT ip address of a request? How is this helpful? Also, what if the requests come from clients with accounts on the same multiuser system? Are you trying to figure out how to tell them apart? There is no NAT address in this case. Maybe what you are trying

Can't do log rotation on windows

2005-02-14 Thread Cervenka, Tom
Ive got tomcat 4 running on a win2003 server and it spits its log messages to a catalina.out file. Once a day I want to rotate the log copy it, zip up the copy and truncate the original. I do this on linux with a simple shell script. Tomcat is running during all of this and has its mitts