You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Matthias Bauer <Ma...@livinglogic.de> on 2001/03/01 17:13:46 UTC

debug level

Hi there,

how can I prevent the struts action servlet from logging so much information. 

Here is my problem: I have generated a struts application and now I am about to
deploy it. During development it was pretty convenient to have so many debug
messages. But now, even after setting the debug level to 0, the ActionServlet
still prints out too much debug information:

> ...
> 2001-03-01 05:10:14 - JspEngine --> /logon.jsp
> 2001-03-01 05:10:14 -        ServletPath: /logon.jsp
> 2001-03-01 05:10:14 -           PathInfo: null
> 2001-03-01 05:10:14 -           RealPath: /home/hias/tomcat/webapps/nmi-registration/logon.jsp
> 2001-03-01 05:10:14 -         RequestURI: /nmi-registration/logon.jsp
> 2001-03-01 05:10:14 -        QueryString: null
> 2001-03-01 05:10:14 -     Request Params:
> 2001-03-01 05:10:14 -            nickname = asfsafasfsa
> 2001-03-01 05:10:14 -            password = asfsafa
> 2001-03-01 05:10:14 -            submit = Anmelden
> 2001-03-01 05:10:14 - Classpath according to the Servlet Engine is: /home/hias/tomcat/webapps/nmi-registration/WEB-INF/classes:/home/hias/tomcat/webapps/nmi-registration/WEB-INF/lib/java-db-framework.jar:/home/hias/tomcat/webapps/nmi-registration/WEB-INF/lib/components.jar:/home/hias/tomcat/webapps/nmi-registration/WEB-INF/lib/struts.jar
> ...

Can somebody help me to suppress that many debug info?

Any help is very much appreciated.

Thanks, 
--- Matthias

Re: debug level

Posted by Matthias Bauer <Ma...@livinglogic.de>.
Yes this was it. I managed to turn if off in my tomcat server.xml by setting
verbosityLevel="WARNING" for JASPER_LOG.

Thanks for your help,
   --- Matthias



Maya Muchnik wrote:
> 
> I think I have found the answer for the 1st part of debug messages. They are
> coming from jasper compiler.
> 
> Maya Muchnik wrote:
> 
> > The 2nd part (classpath) is coming from Tomcat (or other server) startup
> > script.
> >
> > > Hi there,
> > >
> > > how can I prevent the struts action servlet from logging so much
> > > information.
> > >
> > > Here is my problem: I have generated a struts application and now I am
> > > about to
> > > deploy it. During development it was pretty convenient to have so many
> > > debug
> > > messages. But now, even after setting the debug level to 0, the
> > > ActionServlet
> > > still prints out too much debug information:
> > >
> > > > ...
> > > > 2001-03-01 05:10:14 - JspEngine --> /logon.jsp
> > > > 2001-03-01 05:10:14 -        ServletPath: /logon.jsp
> > > > 2001-03-01 05:10:14 -           PathInfo: null
> > > > 2001-03-01 05:10:14 -           RealPath:
> > > /home/hias/tomcat/webapps/nmi-registration/logon.jsp
> > > > 2001-03-01 05:10:14 -         RequestURI: /nmi-registration/logon.jsp
> > > > 2001-03-01 05:10:14 -        QueryString: null
> > > > 2001-03-01 05:10:14 -     Request Params:
> > > > 2001-03-01 05:10:14 -            nickname = asfsafasfsa
> > > > 2001-03-01 05:10:14 -            password = asfsafa
> > > > 2001-03-01 05:10:14 -            submit = Anmelden
> >
> > -----------
> >
> > >
> > > > 2001-03-01 05:10:14 - Classpath according to the Servlet Engine is:
> > > /home/hias/tomcat/webapps/nmi-registration/WEB-INF/classes:/home/hias/to
> > > mcat/webapps/nmi-registration/WEB-INF/lib/java-db-framework.jar:/home/hi
> > > as/tomcat/webapps/nmi-registration/WEB-INF/lib/components.jar:/home/hias
> > > /tomcat/webapps/nmi-registration/WEB-INF/lib/struts.jar
> > > > ...
> > >
> > > Can somebody help me to suppress that many debug info?
> > >
> > > Any help is very much appreciated.
> > >
> > > Thanks,
> > > --- Matthias

Re: debug level

Posted by Maya Muchnik <mm...@pumatech.com>.
I think I have found the answer for the 1st part of debug messages. They are
coming from jasper compiler.

Maya Muchnik wrote:

> The 2nd part (classpath) is coming from Tomcat (or other server) startup
> script.
>
> > Hi there,
> >
> > how can I prevent the struts action servlet from logging so much
> > information.
> >
> > Here is my problem: I have generated a struts application and now I am
> > about to
> > deploy it. During development it was pretty convenient to have so many
> > debug
> > messages. But now, even after setting the debug level to 0, the
> > ActionServlet
> > still prints out too much debug information:
> >
> > > ...
> > > 2001-03-01 05:10:14 - JspEngine --> /logon.jsp
> > > 2001-03-01 05:10:14 -        ServletPath: /logon.jsp
> > > 2001-03-01 05:10:14 -           PathInfo: null
> > > 2001-03-01 05:10:14 -           RealPath:
> > /home/hias/tomcat/webapps/nmi-registration/logon.jsp
> > > 2001-03-01 05:10:14 -         RequestURI: /nmi-registration/logon.jsp
> > > 2001-03-01 05:10:14 -        QueryString: null
> > > 2001-03-01 05:10:14 -     Request Params:
> > > 2001-03-01 05:10:14 -            nickname = asfsafasfsa
> > > 2001-03-01 05:10:14 -            password = asfsafa
> > > 2001-03-01 05:10:14 -            submit = Anmelden
>
> -----------
>
> >
> > > 2001-03-01 05:10:14 - Classpath according to the Servlet Engine is:
> > /home/hias/tomcat/webapps/nmi-registration/WEB-INF/classes:/home/hias/to
> > mcat/webapps/nmi-registration/WEB-INF/lib/java-db-framework.jar:/home/hi
> > as/tomcat/webapps/nmi-registration/WEB-INF/lib/components.jar:/home/hias
> > /tomcat/webapps/nmi-registration/WEB-INF/lib/struts.jar
> > > ...
> >
> > Can somebody help me to suppress that many debug info?
> >
> > Any help is very much appreciated.
> >
> > Thanks,
> > --- Matthias


Re: debug level

Posted by Maya Muchnik <mm...@pumatech.com>.
The 2nd part (classpath) is coming from Tomcat (or other server) startup
script.

> Hi there,
>
> how can I prevent the struts action servlet from logging so much
> information.
>
> Here is my problem: I have generated a struts application and now I am
> about to
> deploy it. During development it was pretty convenient to have so many
> debug
> messages. But now, even after setting the debug level to 0, the
> ActionServlet
> still prints out too much debug information:
>
> > ...
> > 2001-03-01 05:10:14 - JspEngine --> /logon.jsp
> > 2001-03-01 05:10:14 -        ServletPath: /logon.jsp
> > 2001-03-01 05:10:14 -           PathInfo: null
> > 2001-03-01 05:10:14 -           RealPath:
> /home/hias/tomcat/webapps/nmi-registration/logon.jsp
> > 2001-03-01 05:10:14 -         RequestURI: /nmi-registration/logon.jsp
> > 2001-03-01 05:10:14 -        QueryString: null
> > 2001-03-01 05:10:14 -     Request Params:
> > 2001-03-01 05:10:14 -            nickname = asfsafasfsa
> > 2001-03-01 05:10:14 -            password = asfsafa
> > 2001-03-01 05:10:14 -            submit = Anmelden

-----------

>
> > 2001-03-01 05:10:14 - Classpath according to the Servlet Engine is:
> /home/hias/tomcat/webapps/nmi-registration/WEB-INF/classes:/home/hias/to
> mcat/webapps/nmi-registration/WEB-INF/lib/java-db-framework.jar:/home/hi
> as/tomcat/webapps/nmi-registration/WEB-INF/lib/components.jar:/home/hias
> /tomcat/webapps/nmi-registration/WEB-INF/lib/struts.jar
> > ...
>
> Can somebody help me to suppress that many debug info?
>
> Any help is very much appreciated.
>
> Thanks,
> --- Matthias