tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cox, Charlie" <c...@cincom.com>
Subject RE: what is RequestDumperValve
Date Tue, 01 Oct 2002 13:02:46 GMT
you can add a logger under each <host>. Even if you only have one host, it
will separate it from catalina.log. 

I think you can add a logger under the <valve> as well but I haven't tried
to. 

Charlie

> -----Original Message-----
> From: Kunal Shah [mailto:kunalshah@icenet.net]
> Sent: Tuesday, October 01, 2002 8:59 AM
> To: Tomcat Users List
> Subject: RE: what is RequestDumperValve
> 
> 
> Thanks
> 
> I got it in Catalina..... .log file
> 
> But its too much. For one post request, it dumps around 
> 280kbs of data.
> 
> For my one day work, it dumps around 75mbs of data.!!!!!!
> 
> Along with header requests and cookie information, it dumps 
> other things
> also.
> 
> Is there any way I can separate the request log to some other file ..
> 
> If I change logger file then it will dump all information 
> including request
> dispatcher to that file
> I want separate file only for request logging purpose.
> 
> --Kunal
> 
> -----Original Message-----
> From: Cox, Charlie [mailto:ccox@cincom.com]
> Sent: Tuesday, October 01, 2002 5:06 PM
> To: 'Tomcat Users List'
> Subject: RE: what is RequestDumperValve
> 
> look in the file in the logs dir that you have defined in the <Logger>
> element in server.xml.
> 
> Charlie
> 
> > -----Original Message-----
> > From: Kunal Shah [mailto:kunalshah@icenet.net]
> > Sent: Tuesday, October 01, 2002 5:29 AM
> > To: tomcat-user@jakarta.apache.org
> > Subject: what is RequestDumperValve
> >
> >
> > Hi all,
> >
> > I was going through the comments in server.xml of tomcat
> > application server
> > Here is snippet of the comments
> >
> > "<!-- The request dumper valve dumps useful debugging
> > information about
> >            the request headers and cookies that were 
> received, and the
> > response
> >            headers and cookies that were sent, for all
> > requests received by
> >            this instance of Tomcat.  If you care only about
> > requests to a
> >            particular virtual host, or a particular
> > application, nest this
> >            element inside the corresponding <Host> or 
> <Context> entry
> > instead.
> >
> >            For a similar mechanism that is portable to all 
> Servlet 2.3
> >            containers, check out the "RequestDumperFilter"
> > Filter in the
> >            example application (the source for this filter
> > may be found in
> >            
> "$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
> >
> >            Request dumping is disabled by default.  Uncomment
> > the following
> >            element to enable it. -->
> >       <!--
> >       <Valve
> > className="org.apache.catalina.valves.RequestDumperValve"/>
> >       -->
> >       "
> >
> > I uncommented <Valve
> > className="org.apache.catalina.valves.RequestDumperValve"/>
> > but I don't know
> > where to look for the debugging information dumped by this class
> >
> >
> > Please guide me
> >
> > Thanks & regards,
> >
> > Kunal
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Everything you'll ever need on one web page
> > from News and Sport to Email and Music Charts
> > http://uk.my.yahoo.com
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:tomcat-user-help@jakarta.apache.org>
> >
> 
> --
> To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:tomcat-user-help@jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message