title: Logs are not loading according to Log4j2.properties
body: <p>I am upgrading to Log4j to Log4j2 in my project. I have put log4j2.properties in the classpath, and its loading. Despite that logs are not coming according to properties defined in log4j2.properties.</p>
  
  <p>For instance, I have set the property as</p>
  
  <p><code>appender.console.layout.pattern = %d{yyyy-dd HH:mm:ss.SSS} %level [%t] [%c] [%M] [%l] - %msg%n </code></p>
  
  <p>But logs are printing as
  <code>
  2020-05-20 16:12:43.060 DEBUG 58312 --- [           main] o.s.c.a.ClassPathBeanDefinitionScanner   : Identified candidate component class: file [D:\workspaces\MetricsDailySummaryDao.class]</p>
  
  <p>2020-05-20 16:12:43.061 DEBUG 58312 --- [           main] o.s.c.a.ClassPathBeanDefinitionScanner   : Identified candidate component class: file [D:\workspaces\MetricsDao.class]</p>
  
  <p>2020-05-20 16:12:43.061 DEBUG 58312 --- [           main] o.s.c.a.ClassPathBeanDefinitionScanner   : Identified candidate component class: file [D:\workspaces\MetricsHourlySummaryDao.class]
  </code>
  We can see.. Although in my property I have removed the month, but it is printing in logs.</p>
  
  <p>Can Anyone suggest solution to this ?</p>
  
  <p>Edit
  Attaching properties file</p>
  
  <pre><code>status = debug
  name= properties_configuration
  
  # Give directory path where log files should get stored
  
  
  # ConsoleAppender will print logs on console
  appender.console.type = Console
  appender.console.name = consoleLogger
  appender.console.target = SYSTEM_OUT
  appender.console.layout.type = PatternLayout
  
  # Specify the pattern of the logs
  appender.console.layout.ConversionPattern = %d{yyyy-dd HH:mm:ss} %level [%t] [%c] [%M] [%l] - %msg%n
  
  rootLogger.level=debug
  rootLogger.appenderRef.stdout.ref= STDOUT
  logger.org.springframework.security=DEBUG
  logger.org.apache.commons=ERROR
  logger.httpclient.wire.header=WARN,OFA
  logger.httpclient.wire.content=WARN,OFA
  logger.bitronix.tm=ERROR
  logger.org.quartz=INFO
  logger.org.hibernate=INFO,RFA
  logger.org.hibernate.type=INFO,RFA
  logger.org.hibernate.transaction.JDBCTransaction=DEBUG,RFA
  logger.org.hibernate.engine.StatefulPersistenceContext=INFO,OFA
  logger.org.apache.axis=INFO,OFA
  logger.org.apache.http=ERROR
  logger.com.br.management.dashboard=ERROR,RFA
  logger.com.br.management.security=INFO,RFA
  logger.com.googlecode.ehcache=ERROR,OFA
  logger.com.br.management.datagrid=INFO,OFA
  logger.com.br.management.systemConfig=INFO,RFA
  logger.com.br.management.policy=DEBUG
  logger.com.br.management.monitoring=DEBUG,OFA
  logger.com.br.management.billing=ERROR,OFA
  logger.com.br.management.autonomics=DEBUG
  </code></pre>