Re: Writing errors to localhost log

2010-06-23 Thread Pid
On 22 Jun 2010, at 14:55, laredotornado laredotorn...@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-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 

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



Writing errors to localhost log

2010-06-22 Thread laredotornado

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?

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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org