title: Selectively disable log4j debug log in Play console
body: <p>I have a Play 2.0 app, ran <code>play console</code> from the command line. Somewhere in one of the libraries I use, it uses <code>log4j</code> and started to stream debug output for <code>[crawler4j][1]</code>, I'm trying to figure out how to selectively disable that output in the play console. I have tried changing the following in <code>application.conf</code> and <code>logger.xml</code> without any luck</p>
  
  <pre><code>application.conf
  logger.root=ERROR
  logger.play=ERROR
  logger.application=ERROR
  
  logger.xml
  &lt;logger name="org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager" level="ERROR"/&gt;
  </code></pre>
  
  <p>Here's a sample of the streaming debug log</p>
  
  <pre><code>13:10:18.818 [java-sdk-http-connection-reaper] DEBUG o.a.h.i.conn.tsccm.ConnPoolByRoute - Closing connections idle longer than 60 SECONDS
  13:10:18.818 [java-sdk-http-connection-reaper] DEBUG o.a.h.i.c.t.ThreadSafeClientConnManager - Closing connections idle longer than 60 SECONDS
  13:10:18.818 [java-sdk-http-connection-reaper] DEBUG o.a.h.i.conn.tsccm.ConnPoolByRoute - Closing connections idle longer than 60 SECONDS
  13:10:18.818 [java-sdk-http-connection-reaper] DEBUG o.a.h.i.c.t.ThreadSafeClientConnManager - Closing connections idle longer than 60 SECONDS
  13:10:18.818 [java-sdk-http-connection-reaper] DEBUG o.a.h.i.conn.tsccm.ConnPoolByRoute - Closing connections idle longer than 60 SECONDS
  13:10:18.818 [java-sdk-http-connection-reaper] DEBUG o.a.h.i.c.t.ThreadSafeClientConnManager - Closing connections idle longer than 60 SECONDS
  13:10:18.819 [java-sdk-http-connection-reaper] DEBUG o.a.h.i.conn.tsccm.ConnPoolByRoute - Closing connections idle longer than 60 SECONDS
  13:11:18.818 [java-sdk-http-connection-reaper] DEBUG o.a.h.i.c.t.ThreadSafeClientConnManager - Closing connections idle longer than 60 SECONDS
  13:11:18.818 [java-sdk-http-connection-reaper] DEBUG o.a.h.i.conn.tsccm.ConnPoolByRoute - Closing connections idle longer than 60 SECONDS
  13:11:18.819 [java-sdk-http-connection-reaper] DEBUG o.a.h.i.c.t.ThreadSafeClientConnManager - Closing connections idle longer than 60 SECONDS
  13:11:18.819 [java-sdk-http-connection-reaper] DEBUG o.a.h.i.conn.tsccm.ConnPoolByRoute - Closing connections idle longer than 60 SECONDS
  </code></pre>
  
  <p>Just to be clear, the log settings are enforced when I ran the Play app from command line, it's when I run it from within the <strong><code>play console</code></strong> that the settings are not enforced.</p>