title: How to add date in jboss logs, Logger is Java.util.logging.Logger
body: <p>I have been searching in net a lot but haven't manage to find the exact solution.
  Currently the logs doesn't include date, it just include time
  Ex:</p>
  
  <pre><code>12:31:24,733 INFO  [com ......]
  </code></pre>
  
  <p>I need to prefix date in the all the logs.</p>
  
  <p>So I configured the formatter in <code>$JBOSS_HOME/standalone/configuration/logging.property</code>
  as </p>
  
  <pre><code>formatter.PATTERN.pattern=%d{dd/MM/yyyy HH:mm:ss,SSS} %-5p [%c] %s%E%n
  </code></pre>
  
  <p>Then I could see, only starting jboss logs have date but then other JAVA logs doesn;t include date.</p>
  
  <p>Example:</p>
  
  <pre><code>    30/07/2014 13:11:30,480 INFO  [org.jboss.modules] JBoss Modules version 1.1.3.GA
      30/07/2014 13:11:30,642 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
      30/07/2014 13:11:30,699 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.3.Final "Arges" starting
      30/07/2014 13:11:31,468 INFO  [org.xnio] XNIO Version 3.0.6.GA
      30/07/2014 13:11:31,470 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
      30/07/2014 13:11:31,474 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.6.GA
      30/07/2014 13:11:31,482 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.8.SP1
      30/07/2014 13:11:31,503 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
      13:11:31,506 INFO  [org.jboss.as.configadmin] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem
      13:11:31,511 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.
  </code></pre>
  
  <p>System: 
  JAVA6, JBOSS7, RHEL6.4</p>
  
  <p>Please let me know, how to I include date in all the jboss logs.</p>
  
  <p><strong>UPDATE :</strong></p>
  
  <p>Logging.property</p>
  
  <pre><code># Additional logger names to configure (root logger is always configured)
  loggers=org.jboss.as.config
  
  # Dump system environment at boot by default
  logger.org.jboss.as.config.level=DEBUG
  
  # Root logger level
  logger.level=${jboss.boot.server.log.level:INFO}
  # Root logger handlers
  logger.handlers=FILE,CONSOLE
  
  # Console handler configuration
  handler.CONSOLE=org.jboss.logmanager.handlers.ConsoleHandler
  handler.CONSOLE.properties=autoFlush
  handler.CONSOLE.level=${jboss.boot.server.log.console.level:INFO}
  handler.CONSOLE.autoFlush=true
  handler.CONSOLE.formatter=PATTERN
  </code></pre>
  
  <p>Above for CONSOLE handler </p>
  
  <pre><code>    # File handler configuration
      handler.FILE=org.jboss.logmanager.handlers.FileHandler
      handler.FILE.level=DEBUG
      handler.FILE.properties=autoFlush,fileName
      handler.FILE.autoFlush=true
      handler.FILE.fileName=${org.jboss.boot.log.file:boot.log}
      handler.FILE.formatter=PATTERN
  </code></pre>
  
  <p>Above for FILE handler </p>
  
  <pre><code>    # Formatter pattern configuration
      formatter.PATTERN=org.jboss.logmanager.formatters.PatternFormatter
      formatter.PATTERN.properties=pattern
      formatter.PATTERN.pattern=%d{dd/MM/yyyy HH:mm:ss,SSS} %-5p [%c] %s%E%n
  
  Property
  </code></pre>