title: Logger not printing with log4j.properties within Spring Boot 1.5.7
body: <p>I'm using slf4j-api for logging and log4j as a logger. But in my Spring Boot project it doesn't show proper logs with custom log4j settings in <code>log4j.properties</code>.</p>
  
  <p><strong>POM</strong>:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
      &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
      &lt;version&gt;1.7.25&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p><strong>log4j.properties</strong>:</p>
  
  <pre><code># Root logger option
  log4j.rootLogger=INFO, stdout
  
  # Direct log messages to stdout
  log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  log4j.appender.stdout.Target=System.out
  log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
  </code></pre>
  
  <p>It prints something like:</p>
  
  <pre><code>2018-10-29 13:47:40.601  INFO 7740 --- [nio-8080-exec-1] k.a.o.controller.CustomController     : 2018-08-02 2018-08-04
  </code></pre>
  
  <p>so, it doesn't show the line where it has been logged.
  Should I add anything else?</p>