Hi,

Try this one.

<category name="httpclient">
        <priority value="WARN" />
</category>

Cheers,

Richard
([EMAIL PROTECTED])

On 5/4/06, mrather <[email protected]> wrote:
Hello,

I have a page template that includes a banner,and the banner is supposed to 
include the company stock quote that is served at a remote url.

I am using apache commons httpclient to access the quote from the url, and do 
some formatting before showing in the banner. (I am not using c:import, as i 
want to strip out some html from the response before displaying)

All works, except for the following issue:
The catalina.out log file gets a huge amount of commons httpclient log 
information, and most of it is DEBUG info.

I looked up on apache's common.httpClient site and they said that they come 
with default settings for Log4J, java.util.logging and SimpleLog.

I know magnolia uses Log4J, but I could not find anywhere to set the logging 
level for commons.httpclient, except for this in log4j.xml
<category name="org">
 <priority value="WARN"  />
</category>
I even tried to be more explicit as:
<category name="org.apache.commons.httpclient">
 <priority value="INFO"  />
</category>

I have used the same code for another jsp application, and I did not have any 
issue like this there. So my hunch is that somewhere in magnolia the logging 
level for httpclient is set at DEBUG or httpclient's logging is enabled. Where 
is it, and can I override it? Or have I understood the issue wrong? please 
advise..

Thanks
M Rather



----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to