Steve Dietrich wrote:

>
> Does anyone know a way to send a stacktrace to jserv.log by way of the
> getServletContex.log() method?  Or an alternate method?
>
>    thanks in advance...
>
>    Steve Dietrich
>

Pass the exception itself to the ServletContext.log call as the first argument, with 
your message as the second argument.  Then, Apache JServ will print your message, 
followed by a stack trace from the exception.

Please note that questions specific to Apache JServ will get better response on one of 
the mailing lists specific to it.  You can subscribe at http://java.apache.org


Craig McClanahan

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to