title: Intellij IDEA 12 only outputs the last line
body: <p>I'm running an application on JBoss AS7. When I start the server, all the init logs from JBoss are correctly shown in the Output view but the application logs aren't. I only have the last line that overrides the previous one. </p>
  
  <p>The application logs are written to the console via logback :</p>
  
  <pre><code>&lt;appender name="out" class="ch.qos.logback.core.ConsoleAppender"&gt;
    &lt;encoder&gt;
      &lt;Pattern&gt;%d{yyyy-MM-dd HH:mm:ss.SSS}|%level|%thread|%logger{50}|%msg%n&lt;/Pattern&gt;
    &lt;/encoder&gt;
  &lt;/appender&gt;
  
  &lt;root level="info"&gt;
    &lt;appender-ref ref="out" /&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>Here is the logging configuration in standalone.xml :</p>
  
  <pre><code>&lt;subsystem xmlns="urn:jboss:domain:logging:1.1"&gt;
      &lt;console-handler name="CONSOLE"&gt;
          &lt;level name="INFO"/&gt;
          &lt;formatter&gt;
              &lt;pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/&gt;
          &lt;/formatter&gt;
      &lt;/console-handler&gt;
      &lt;logger category="com.arjuna"&gt;
          &lt;level name="WARN"/&gt;
      &lt;/logger&gt;
      &lt;logger category="org.apache.tomcat.util.modeler"&gt;
          &lt;level name="WARN"/&gt;
      &lt;/logger&gt;
      &lt;logger category="sun.rmi"&gt;
          &lt;level name="WARN"/&gt;
      &lt;/logger&gt;
      &lt;logger category="jacorb"&gt;
          &lt;level name="WARN"/&gt;
      &lt;/logger&gt;
      &lt;logger category="jacorb.config"&gt;
          &lt;level name="ERROR"/&gt;
      &lt;/logger&gt;
      &lt;root-logger&gt;
          &lt;level name="INFO"/&gt;
          &lt;handlers&gt;
              &lt;handler name="CONSOLE"/&gt;
          &lt;/handlers&gt;
      &lt;/root-logger&gt;
  &lt;/subsystem&gt;
  </code></pre>
  
  <p>If I save the log to a file, I can see all my application logs. I tried to increase the buffer but it didn't work. The same configuration works on Eclipse.</p>
  
  <p>As en example, this is what I get in Intellij ouptput :</p>
  
  <pre><code>...                // logs from JBoss
  deployed appli ... // logs from JBoss
  log3               // logs from application (logback)
  </code></pre>
  
  <p>And the same thing if logged into a file :</p>
  
  <pre><code>...                // logs from JBoss
  deployed appli ... // logs from JBoss
  log1               // logs from application (logback)
  log2               // logs from application (logback)
  log3               // logs from application (logback)
  </code></pre>
  
  <p>log3 overrided log1 and log2.</p>