title: log4j2: date/conversion pattern does not work
body: <p>Added log4j 2 to my project. At first, I didn't add any configuration / properties file and got the message  <code>ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console</code>. That was fine since I used the default settings anyway (and it worked).</p>
  
  <p>After setting it all up, I noticed that the log msgs timestamp does not contain date. For example: <code>10:46:24.597 [[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO utils.ServerParamLoader - INFO LOG</code>. So I started digging the web for answer.</p>
  
  <p>With help from the <a href="http://log4jtester.com/" rel="nofollow noreferrer">log4jtester.com</a> I made a small log4j2.properties file:</p>
  
  <pre><code>log4j.rootLogger=INFO, STDOUT
  
  #appenders
  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{dd/MM/yyyy HH:mm:ss,SSS}] [%-7p] %c{1}:%L (%t) - %m%n
  </code></pre>
  
  <p>And I put it under /src.</p>
  
  <p>When I started the server again the error message was gone (that's why I'm sure that the file is being loaded!), but the messages in the log was still in the old format.</p>
  
  <p>What am I doing wrong?</p>
  
  <p>(Another thing, maybe it's related maybe not - according to the <a href="http://logging.apache.org/log4j/2.x/manual/layouts.html#PatternLayout" rel="nofollow noreferrer">API</a> the default for timestamps is ISO8601, which includes the date!)</p>