hi,
is there an easy way to disable logging in an osgi environment?
i get a lot of:
[java] org.apache.httpcomponents.httpclient[org.apache.http.wire] : <<
" <form action="" id="httpsForm" class="hide"
target="httpsIframe" enctype="multipart/form-data"
method="post"></form>[\n]"
[java] org.apache.httpcomponents.httpclient[org.apache.http.wire] :
<< " </div>[\n]"
[java] org.apache.httpcomponents.httpclient[org.apache.http.wire] :
<< "[\n]"
[java] org.apache.httpcomponents.httpclient[org.apache.http.wire] :
<< " [\n]"
[java] org.apache.httpcomponents.httpclient[org.apache.http.wire] :
<< " [\n]"
[java] org.apache.httpcomponents.httpclient[org.apache.http.wire] :
<< " [\n]"
in my stdout and would like to disable them.
i use the pax osgi bundle for logging, which enables many logging
facilities.
is there a simple way to disable logging in httpclient? maybe in code?
i tried:
java.util.logging.Logger.getLogger("org.apache.httpcomponents.httpclient").setLevel(java.util.logging.Level.OFF);
and
java.util.logging.Logger.getLogger("org.apache.http.wire").setLevel(java.util.logging.Level.OFF);
but that doesnt fix it, same behavior
thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org
|