title: Wildfly log prints the same line twice
body: <p>When I log a message in the code the server prints twice the same message with the only difference of the date at the beginning.</p>
  
  <p>I'm using the default log configuration that comes with the server Wildfly 10.</p>
  
  <p><strong>Server.log</strong></p>
  
  <pre><code>09:43:09,122 INFO  [es.myapp.business.scheduler.boundary.Job] (default task-91) ----------INIT Job Mon Nov 20 10:05:08 CET 2017
  2017-11-20 09:43:09,122 INFO  [es.myapp.business.scheduler.boundary.Job] (default task-91) ----------INIT Job Mon Nov 20 10:05:08 CET 2017
  </code></pre>
  
  <p><strong>Job.java</strong></p>
  
  <pre><code>import org.apache.log4j.Logger;
  
  ...
  public class Job {
  
     protected Logger logger = Logger.getLogger(getClass().getName());
  
     public void execute() throws IOException {
          logger.info("----------INIT Job " + new Date());
     }
  }
  </code></pre>
  
  <p>Wildfly <strong>logging.properties</strong></p>
  
  <pre><code># Note this file has been generated and will be overwritten if a
  # logging subsystem has been defined in the XML configuration.
  
  
  # Additional loggers to configure (the root logger is always configured)
  loggers=sun.rmi,org.jboss.as.config,com.arjuna
  
  logger.level=INFO
  logger.handlers=FILE,CONSOLE
  
  logger.sun.rmi.level=WARN
  logger.sun.rmi.useParentHandlers=true
  
  logger.org.jboss.as.config.level=DEBUG
  logger.org.jboss.as.config.useParentHandlers=true
  
  logger.com.arjuna.level=WARN
  logger.com.arjuna.useParentHandlers=true
  
  handler.CONSOLE=org.jboss.logmanager.handlers.ConsoleHandler
  handler.CONSOLE.level=INFO
  handler.CONSOLE.formatter=COLOR-PATTERN
  handler.CONSOLE.properties=enabled,autoFlush,target
  handler.CONSOLE.enabled=true
  handler.CONSOLE.autoFlush=true
  handler.CONSOLE.target=SYSTEM_OUT
  
  handler.FILE=org.jboss.logmanager.handlers.PeriodicRotatingFileHandler
  handler.FILE.level=ALL
  handler.FILE.formatter=PATTERN
  handler.FILE.properties=append,autoFlush,enabled,suffix,fileName
  handler.FILE.append=true
  handler.FILE.autoFlush=true
  handler.FILE.enabled=true
  handler.FILE.suffix=.yyyy-MM-dd
  handler.FILE.fileName=/home/u24282/servers/wildfly-10.1.0.Final/standalone/log/server.log
  
  formatter.PATTERN=org.jboss.logmanager.formatters.PatternFormatter
  formatter.PATTERN.properties=pattern
  formatter.PATTERN.pattern=%d{yyyy-MM-dd HH\:mm\:ss,SSS} %-5p [%c] (%t) %s%e%n
  
  formatter.COLOR-PATTERN=org.jboss.logmanager.formatters.PatternFormatter
  formatter.COLOR-PATTERN.properties=pattern
  formatter.COLOR-PATTERN.pattern=%K{level}%d{HH\:mm\:ss,SSS} %-5p [%c] (%t) %s%e%n
  </code></pre>