tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: Writing errors to localhost log
Date Wed, 23 Jun 2010 08:07:58 GMT
On 22 Jun 2010, at 14:55, laredotornado <laredotornado@gmail.com> wrote:

> 
> Hi,
> 
> I'm using Tomcat 6.0.26.  I notice that when I define an error page for my
> JSPs
> 
> <%@ page errorPage="/error-pages/500.jsp" %>
> 
> The error page gets called properly, but the stack trace of the error is no
> longer written to my localhost log file, where it used to be output before I
> inserted the directive.  Do you know how I can continue to have the stack
> trace show up in this file and continue to define an error page for my JSP?

You can define an error-page element in web.xml, have a read of the Servlet Spec for more
info.


p


> 
> Thanks, - Dave
> 
> -- 
> View this message in context: http://old.nabble.com/Writing-errors-to-localhost-log-tp28960361p28960361.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message