You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Luiz-Otavio Zorzella <zo...@codaware.com> on 2003/04/21 22:43:36 UTC

How to turn off the debugging messages?

When I run a StrutsTestCase, I get gobs of messages about the 
conversation between client and server that make it hard to examine 
errors in the output. How to turn these off? I've been looking for other 
posts on the matter, but I can't find any. Here are two lines of example 
of what I'm talking about:

[...]
     [junit] (httpclient.wire                     88  ) >> 
"Content-type: application/x-www-form-urlencoded
     [junit] "
[...]

Thanks,

Zorzella


Re: How to turn off the debugging messages?

Posted by Luiz-Otavio Zorzella <zo...@codaware.com>.
Thanks... I had some trouble with the order of my client classpath, but 
after some headbutting, I'm victorious...

Thanks again,

Zorzella

Vincent Massol wrote:
> Hi Zorzella,
> 
> This has to do with your log4j configuration. Check
> http://jakarta.apache.org/cactus/integration/manual/howto_config.html#lo
> gging for more details.
> 
> -Vincent
> 
> 
>>-----Original Message-----
>>From: Luiz-Otavio Zorzella [mailto:zorzella@codaware.com]
>>Sent: 21 April 2003 22:44
>>To: Cactus Users List
>>Subject: How to turn off the debugging messages?
>>
>>When I run a StrutsTestCase, I get gobs of messages about the
>>conversation between client and server that make it hard to examine
>>errors in the output. How to turn these off? I've been looking for
> 
> other
> 
>>posts on the matter, but I can't find any. Here are two lines of
> 
> example
> 
>>of what I'm talking about:
>>
>>[...]
>>     [junit] (httpclient.wire                     88  ) >>
>>"Content-type: application/x-www-form-urlencoded
>>     [junit] "
>>[...]
>>
>>Thanks,
>>
>>Zorzella
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 



Re: How to turn off the debugging messages?

Posted by Luiz-Otavio Zorzella <zo...@codaware.com>.
Vincent,

I'm having a "Goldie Locks" issue in here -- I had too much output, and 
now I have too little.

The settings I implemented cause the "ant test-struts" target to not 
print any information about each of the tests withing a class, unlike 
the other junit tests, which print a nice summary. Compare:

test-junit:
     [junit] Testsuite: com.codaware.junit.SimpleTest
     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.063 sec

     [junit] Testcase: testCat took 0.007 sec
     [junit] Testcase: testBeanForException took 0.941 sec
     [junit] Testcase: testTunnel took 0.102 sec
     [junit] Testcase: testFormToValue took 0.008 sec

real-test-struts:
     [junit] Running com.codaware.junit.TestStrutsUI
     [junit] Tests run: 15, Failures: 0, Errors: 0, Time elapsed: 8.458 sec

Do you have suggestions for the log4j.properties that I can use to have 
it display just a little bit more?

Thanks a lot,

Zorzella

Vincent Massol wrote:
> Hi Zorzella,
> 
> This has to do with your log4j configuration. Check
> http://jakarta.apache.org/cactus/integration/manual/howto_config.html#lo
> gging for more details.
> 
> -Vincent
> 
> 
>>-----Original Message-----
>>From: Luiz-Otavio Zorzella [mailto:zorzella@codaware.com]
>>Sent: 21 April 2003 22:44
>>To: Cactus Users List
>>Subject: How to turn off the debugging messages?
>>
>>When I run a StrutsTestCase, I get gobs of messages about the
>>conversation between client and server that make it hard to examine
>>errors in the output. How to turn these off? I've been looking for
> 
> other
> 
>>posts on the matter, but I can't find any. Here are two lines of
> 
> example
> 
>>of what I'm talking about:
>>
>>[...]
>>     [junit] (httpclient.wire                     88  ) >>
>>"Content-type: application/x-www-form-urlencoded
>>     [junit] "
>>[...]
>>
>>Thanks,
>>
>>Zorzella
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 



RE: How to turn off the debugging messages?

Posted by Vincent Massol <vm...@pivolis.com>.
Hi Zorzella,

This has to do with your log4j configuration. Check
http://jakarta.apache.org/cactus/integration/manual/howto_config.html#lo
gging for more details.

-Vincent

> -----Original Message-----
> From: Luiz-Otavio Zorzella [mailto:zorzella@codaware.com]
> Sent: 21 April 2003 22:44
> To: Cactus Users List
> Subject: How to turn off the debugging messages?
> 
> When I run a StrutsTestCase, I get gobs of messages about the
> conversation between client and server that make it hard to examine
> errors in the output. How to turn these off? I've been looking for
other
> posts on the matter, but I can't find any. Here are two lines of
example
> of what I'm talking about:
> 
> [...]
>      [junit] (httpclient.wire                     88  ) >>
> "Content-type: application/x-www-form-urlencoded
>      [junit] "
> [...]
> 
> Thanks,
> 
> Zorzella
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org