You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Santosh Puranshettiwar <sa...@wirkle.com> on 2006/08/24 14:20:48 UTC

Enabling RequestDumperValve

This is how its being done: -

<Context path="/magicktest" docBase="magicktest" debug="0" 
reloadable="true" >
    <Logger className="org.apache.catalina.logger.SystemOutLogger"/>
    <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
</Context>

This snippet is inside a file named server.xml which is placed in 
$CATALINA_HOME/webapps/magicktest/WEB-INF/ .

But nothing gets logged on the console.

It was quite urgent, therefore only a minimal digging was performed. 
Please tell me what's being missed.

Configuration: -
Tomcat 4.1
WindowsXP


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Enabling RequestDumperValve

Posted by Santosh Puranshettiwar <sa...@wirkle.com>.
/Tomcat 4 "Manager" Helped.

Thanks alot.
/David Smith wrote:
> Place your context definition in your server.xml file.
>
> See http://tomcat.apache.org/tomcat-4.1-doc/appdev/deployment.html
>
> --David
>
> Santosh Puranshettiwar wrote:
>
>> This is how its being done: -
>>
>> <Context path="/magicktest" docBase="magicktest" debug="0" 
>> reloadable="true" >
>>    <Logger className="org.apache.catalina.logger.SystemOutLogger"/>
>>    <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
>> </Context>
>>
>> This snippet is inside a file named server.xml which is placed in 
>> $CATALINA_HOME/webapps/magicktest/WEB-INF/ .
>>
>> But nothing gets logged on the console.
>>
>> It was quite urgent, therefore only a minimal digging was performed. 
>> Please tell me what's being missed.
>>
>> Configuration: -
>> Tomcat 4.1
>> WindowsXP
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Enabling RequestDumperValve

Posted by David Smith <dn...@cornell.edu>.
Place your context definition in your server.xml file.

See http://tomcat.apache.org/tomcat-4.1-doc/appdev/deployment.html

--David

Santosh Puranshettiwar wrote:

> This is how its being done: -
>
> <Context path="/magicktest" docBase="magicktest" debug="0" 
> reloadable="true" >
>    <Logger className="org.apache.catalina.logger.SystemOutLogger"/>
>    <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
> </Context>
>
> This snippet is inside a file named server.xml which is placed in 
> $CATALINA_HOME/webapps/magicktest/WEB-INF/ .
>
> But nothing gets logged on the console.
>
> It was quite urgent, therefore only a minimal digging was performed. 
> Please tell me what's being missed.
>
> Configuration: -
> Tomcat 4.1
> WindowsXP
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org