title: log4j writes blank lines in console
body: <p>I have the following log4j configuration:</p>
  
  <pre><code>&lt;appender name="MYCONSOLE" class="org.apache.log4j.ConsoleAppender"&gt;
    &lt;param name="Threshold" value="INFO"/&gt;
    &lt;param name="Target" value="System.out"/&gt;
    &lt;layout class="org.apache.log4j.PatternLayout"&gt;
      &lt;param name="ConversionPattern" value="%d{ISO8601}|%-5p|MYAPP|%t|%C{1}.%M(%L)|%m%n"/&gt;
    &lt;/layout&gt;
  &lt;/appender&gt;
  
  &lt;appender name="MYFILE" class="org.apache.log4j.DailyRollingFileAppender"&gt;
    &lt;param name="File" value="${jboss.server.log.dir}/myapp.log"/&gt;
    &lt;param name="Append" value="true"/&gt;
    &lt;param name="DatePattern" value="'.'yyyy-MM-dd"/&gt;
  
    &lt;layout class="org.apache.log4j.PatternLayout"&gt;
      &lt;param name="ConversionPattern" value="%d{ISO8601}|%-5p|MYAPP|%t|%C{1}.%M(%L)|%m%n"/&gt;
    &lt;/layout&gt;
  &lt;/appender&gt;
  </code></pre>
  
  <p>In the Eclipse console, every log line produced by this configuration is followed by a completely blank line:</p>
  
  <pre><code>12:46:27,289 INFO  [stdout] 2017-01-25 12:46:27,289|INFO|MYAPP|something
  
  12:46:27,289 INFO  [stdout] 2017-01-25 12:46:27,289|INFO|MYAPP|something else
  </code></pre>
  
  <p>This happens only with logs generated by MYCONSOLE, all other logs (such as the internal JBoss's ones) don't have blank lines.
  Also, in the MYFILE log file, the logs are the same but the blank lines are not there. </p>
  
  <p>What could be the reason?</p>