You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Daniel Haviv <da...@gmail.com> on 2018/06/29 07:16:51 UTC

Setting log level to DEBUG while keeping httpclient.wire on WARN

Hi,
I'm trying to debug an issue with Spark so I've set log level to DEBUG but
at the same time I'd like to avoid the httpclient.wire's verbose output by
setting it to WARN.

I tried the following log4.properties config but I'm still getting DEBUG
outputs for httpclient.wire:

log4j.rootCategory=DEBUG,console

...

log4j.logger.org.apache=WARN
log4j.logger.httpclient.wire.header=WARN
log4j.logger.httpclient.wire.content=WARN
log4j.logger.org.apache.commons.httpclient=WARN
log4j.logger.httpclient=WARN
log4j.logger.httpclient.wire.header=WARN

Thank you.
Daniel

Re: Setting log level to DEBUG while keeping httpclient.wire on WARN

Posted by "yujhe.li" <li...@gmail.com>.
Daniel Haviv wrote
> Hi,
> I'm trying to debug an issue with Spark so I've set log level to DEBUG but
> at the same time I'd like to avoid the httpclient.wire's verbose output by
> setting it to WARN.
> 
> I tried the following log4.properties config but I'm still getting DEBUG
> outputs for httpclient.wire:

Can you paste your DEBUG message? and how you pass log4j.properties to Spark
application?



--
Sent from: http://apache-spark-user-list.1001560.n3.nabble.com/

---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscribe@spark.apache.org