Wildfly 10 Duplicate Log Messages
<p>I do not understand why I get duplicate messages in my Wildfly 10 log file.  Here is a tiny sample:</p>

<pre><code>2016-10-12 11:43:34,320 WARN  [com.getmoremath.entities.Restore] (default task-31) Can't deserialize non-existent problem
...
INFO   | jvm 1    | 2016/10/12 11:43:34 | [0m[33m11:43:34,320 WARN  [com.getmoremath.entities.Restore] (default task-31) Can't deserialize non-existent problem
</code></pre>

<p>This does not happen when I run my EAR app locally via Eclipse, but does happen when I run it on my remote server.  The two deployments (local and remote) have identical standalone.conf logging subsytems.</p>

<p>So I guess there is some extra configuration tucked away on the server that turns jvm logging on and somehow directs it to the same file as my Wildfly configured logging?  Weird.  Any ideas?</p>

<p>As a further clue, the remote logging sometimes creates multiple files on the same day, even though my standalone logging configuration is set to only rotate per day.  I get extra files with names like "server.log.1" and "server.log.2"</p>

<p>Here's the standalone for logging:</p>

<pre><code>&lt;subsystem xmlns="urn:jboss:domain:logging:3.0"&gt;
            &lt;console-handler name="CONSOLE"&gt;
                &lt;level name="INFO"/&gt;
                &lt;formatter&gt;
                    &lt;named-formatter name="COLOR-PATTERN"/&gt;
                &lt;/formatter&gt;
            &lt;/console-handler&gt;
            &lt;periodic-rotating-file-handler name="FILE" autoflush="true"&gt;
                &lt;formatter&gt;
                    &lt;named-formatter name="PATTERN"/&gt;
                &lt;/formatter&gt;
                &lt;file relative-to="jboss.server.log.dir" path="server.log"/&gt;
                &lt;suffix value=".yyyy-MM-dd"/&gt;
                &lt;append value="true"/&gt;
            &lt;/periodic-rotating-file-handler&gt;
            &lt;logger category="com.arjuna"&gt;
                &lt;level name="WARN"/&gt;
            &lt;/logger&gt;
            &lt;logger category="org.apache.tomcat.util.modeler"&gt;
                &lt;level name="WARN"/&gt;
            &lt;/logger&gt;
            &lt;logger category="org.jboss.as.config"&gt;
                &lt;level name="DEBUG"/&gt;
            &lt;/logger&gt;
            &lt;logger category="sun.rmi"&gt;
                &lt;level name="WARN"/&gt;
            &lt;/logger&gt;
            &lt;logger category="jacorb"&gt;
                &lt;level name="WARN"/&gt;
            &lt;/logger&gt;
            &lt;logger category="jacorb.config"&gt;
                &lt;level name="ERROR"/&gt;
            &lt;/logger&gt;
            &lt;root-logger&gt;
                &lt;level name="INFO"/&gt;
                &lt;handlers&gt;
                    &lt;handler name="CONSOLE"/&gt;
                    &lt;handler name="FILE"/&gt;
                &lt;/handlers&gt;
            &lt;/root-logger&gt;
            &lt;formatter name="PATTERN"&gt;
                &lt;pattern-formatter pattern="%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n"/&gt;
            &lt;/formatter&gt;
            &lt;formatter name="COLOR-PATTERN"&gt;
                &lt;pattern-formatter pattern="%K{level}%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n"/&gt;
            &lt;/formatter&gt;
        &lt;/subsystem&gt;
</code></pre>

<p>Thanks for looking at this!</p>

<p>Josh</p>