title: WebSphere 7 log level configuration at runtime
body: <p>Is it possible to configure logging level at runtime on WebSphere 7 Application Server through the «Logging and tracing» menu?</p>
  
  <p>I use slf4j-log4j12 and jcl-over-slf4j. </p>
  
  <p>For ex. I have following log4j.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE log4j:configuration PUBLIC "-//LOGGER" "log4j.dtd"&gt;
  &lt;log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"&gt;
  &lt;!-- Appenders --&gt;
  &lt;appender name="console" class="org.apache.log4j.ConsoleAppender"&gt;
      &lt;param name="Target" value="System.out" /&gt;
      &lt;layout class="org.apache.log4j.PatternLayout"&gt;
          &lt;param name="ConversionPattern" value="%-5p: %c - %m%n" /&gt;
      &lt;/layout&gt;
  &lt;/appender&gt;
  
  &lt;!-- Root Logger --&gt;
  &lt;root&gt;
      &lt;priority value="TRACE" /&gt;
      &lt;appender-ref ref="console" /&gt;
  &lt;/root&gt;
  &lt;/log4j:configuration&gt;
  </code></pre>
  
  <p>That log4j configuration prints a lot of debug and trace information into SystemOut.log file. Like:     </p>
  
  <blockquote>
    <p>[10/21/13 16:31:18:141 FET] 0000001a SystemOut     O DEBUG: org.springframework.core.convert.support.GenericConversionService - Converted to '10/21/14'
    [10/21/13 16:31:18:141 FET] 0000001a SystemOut     O TRACE: org.springframework.core.convert.support.GenericConversionService - Checking if I can convert java.lang.String to @org.springframework.format.annotation.DateTimeFormat @javax.validation.constraints.Future java.util.Date</p>
  </blockquote>
  
  <p>So, I tried to add the line:</p>
  
  <pre><code>org.springframework.*=info
  </code></pre>
  
  <p>But, it didn't affect log level of my web application. </p>