title: Enabling logs in Spring boot cloud foundry application
body: <p>how do i enable spring framework logs in my application. ? i have used logback.xml in my application and set the root level to debug. When i am trying to run the app locally then logs are printed but the same is not happening when i am deploying the application in CF.
  The application itself is crashing due to other reason but i hoped some initial spring boot framework logging should have happened.</p>
  
  <p>Below is my logback.xml file. I am not sure the console appender mentioned there will work in CF system too or not.`</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;configuration&gt;
  &lt;appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"&gt;
          &lt;layout class="ch.qos.logback.classic.PatternLayout"&gt;
              &lt;Pattern&gt;
                  %d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n
              &lt;/Pattern&gt;
          &lt;/layout&gt;
      &lt;/appender&gt; 
  
  &lt;root level="TRACE"&gt;
  &lt;appender-ref ref="STDOUT" /&gt;
      &lt;/root&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Best Regards,</p>
  
  <p>Saurav</p>