How do I disable net.lightbody.bmp (BrowserMobProxy) logging messages in log4j framework?
<p>Im using BrowserMobProxy Embedded Mode on Java with Selenium. </p>

<p>How do I disable log messages from BrowserMobProxy appearing on console? Is it possible to disable it somehow in log4.properties or some other way?</p>

<p>Example of unnecessary log in console that always appear:</p>

<pre><code> /537.36
Accept: image/webp,image/*,*/*;q=0.8
Referer: http://something.com/styles/html5-touch-template/main-33a42.css
Accept-Language: en-US,en;q=0.8
Cookie: _ga=GA1.2.807057776.1475866489
Accept-Encoding: gzip, deflate, 
Via: 1.1 browsermobproxy
2016-10-06 21:28:09 -- ProxyToServerConnection.write(ProxyToServerConnection.java:345) - (AWAITING_INITIAL) [id: 0xe29d0002, L:/112.111.1.11:52907 - R:something.com/333.111.1.11:80]: Using existing connection to: something.com/333.111.1.11:80
2016-10-06 21:28:09 -- ProxyConnection.doWrite(ProxyConnection.java:228) - (AWAITING_INITIAL) [id: 0xe29d0002, L:/192.168.0.10:52907 - R:something.com/184.180.124.162:80]: Writing: DefaultHttpRequest(decodeResult: success, version: HTTP/1.1)
GET /styles/html5-touch-template/fonts/HelveticaNeueLTStd-Bd.otf HTTP/1.1
Host: something.com
User-Agent
</code></pre>

<p>Log4j:</p>

<pre><code>log4j.rootLogger=INFO, FILE, CONSOLE
log=src/test/resources
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.Threshold=INFO
log4j.appender.CONSOLE.Target=System.out
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} -- %C{1}.%M(%F:%L) - %m%n
log4j.appender.FILE=org.apache.log4j.RollingFileAppender
log4j.appender.FILE.File=${log}/log.out
log4j.appender.FILE.MaxFileSize=100KB
log4j.appender.FILE.MaxBackupIndex=2
log4j.appender.FILE.Threshold=INFO
log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
log4j.appender.FILE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} -- %-10p %c{1} - %m%n
log4j.logger.org.apache.http=ERROR
</code></pre>

<p>Please help :)</p>