title: slf4j logger is not printing the log in console for springboot if wrapped under log.isDebugEnabled()
body: <p>I am using slf4j logger in my controller class, even though my application.properties has the following entries:</p>
  
  <pre><code>#logging.level.*= DEBUG
  logging.level.org.springframework.web=DEBUG
  logging.level.com.ge.power.brs.controllers.*=DEBUG
  </code></pre>
  
  <p>The code looks like :</p>
  
  <pre><code> private static final Logger LOGGER = LoggerFactory.getLogger(EventControllerV1.class);
  
  public ResponseEntity&lt;List&lt;EventView&gt;&gt; requestEvents(@RequestParam("user_name") String userName) throws Exception { 
      if (LOGGER.isDebugEnabled()) {
          LOGGER.debug("EventControllerV1:::requestEvents:::Parameters&gt;&gt;::userName::" + userName);
      }
      return new ResponseEntity&lt;&gt;(eventManager.findEvents(userName), HttpStatus.OK);
  }
  </code></pre>
  
  <p>**</p>
  
  <p>In the background slf4j uses Logback framework, but still I am not able to get the console output..but if I remove the condition and use log.info("xxx") only , I can see the output in console when I hit the endpoint</p>