You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by shanky <sh...@home.com> on 1999/11/08 06:51:18 UTC
Debugging........
Hello,
i am sorry if this has been discussed before.
has there been any decision/discussion to add servlet debugging facility.
thanks,
Shankar.
Re: Debugging........
Posted by "Anil K. Vijendran" <An...@eng.sun.com>.
If logging is what you guys are interested in, there's a very simple logging
facility atleast for JSPs. You can configure the init-param jspVerbosityLevel
for JspServlet to get lots of output from the JSP engine. For example, add this
to the web.xml file of the context that you are interested in:
<servlet>
<servlet-name>
jsp
</servlet-name>
<servlet-class>
org.apache.jasper.runtime.JspServlet
</servlet-class>
<load-on-startup>
-2147483646
</load-on-startup>
<init-param>
<param-name>jspVerbosityLevel</param-name>
<param-value>5</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>
jsp
</servlet-name>
<url-pattern>
*.jsp
</url-pattern>
</servlet-mapping>
Cris Perdue wrote:
> > i am sorry if this has been discussed before.
> > has there been any decision/discussion to add servlet debugging facility.
> >
> Don't know about discussion here, but I've found it quite helpful to
> have various flags, for example per-class, in a Servlet engine, that
> turn on logging of various routine information by the engine itself. I
> have a farily general-purpose servlet control panel to turn these on and
> off.
>
> I've found logging of request, headers, response headers, and
> specifically cookie information particularly helpful.
>
> I would be happy to contribute code that uses reflection to turn flags
> on and off. If Jakarta configuration is very dynamic, that could be
> another way to go.
> --
> Cris Perdue
> Impact Online, Inc.
> http://www.volunteermatch.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
--
Peace, Anil +<:-)
Re: Debugging........
Posted by Cris Perdue <cr...@perdues.com>.
> i am sorry if this has been discussed before.
> has there been any decision/discussion to add servlet debugging facility.
>
Don't know about discussion here, but I've found it quite helpful to
have various flags, for example per-class, in a Servlet engine, that
turn on logging of various routine information by the engine itself. I
have a farily general-purpose servlet control panel to turn these on and
off.
I've found logging of request, headers, response headers, and
specifically cookie information particularly helpful.
I would be happy to contribute code that uses reflection to turn flags
on and off. If Jakarta configuration is very dynamic, that could be
another way to go.
--
Cris Perdue
Impact Online, Inc.
http://www.volunteermatch.org