tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Spencer" <tspen...@stny.rr.com>
Subject Re: Do exceptions get routed to a log file?
Date Sun, 02 Apr 2000 02:27:16 GMT
I believe that exceptions thrown by servlets you do not catch yourself are
logged in the tomcat.log file.  That's where I see them showing up.

You can use the log(String msg) to log your own messages in servlets.  These
will show up in servlets.log

----- Original Message -----
From: Randall Parker <randall@nls.net>
To: Tomcat User List <tomcat-user@jakarta.apache.org>
Sent: Saturday, April 01, 2000 6:37 PM
Subject: Do exceptions get routed to a log file?


> If a servlet throws an exception that it does not itself catch then does
Tomcat 3.1b1 catch and print the
> servlet message to a log file?
>
> I've moved a working app from NT4 with Tomcat 3.0 to Linux 6.03 with JDK
1.2.2 and Tomcat 3.1b1 and
> have made various changes that I think ought to make server.xml and other
files compatible. But my
> pages return rather brief errors. For instance:
>
> Error: 404
>
> Location: /webapps/admin/UserLoginManager
>
> null
>
>
> Short of configuring a remote debugger (anyone want to suggest one that
they like?) is there a good way
> to figure out what is causing this?
>
>
>
>
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>


Mime
View raw message