Wildfly as service: How to log just once?
<p>I'm running wildfly as a service on Linux. </p>

<p>I used the well-written instruction on <a href="http://developer-should-know.tumblr.com/post/112230363742/how-to-install-wildfly-as-a-service-on-linux" rel="noreferrer">http://developer-should-know.tumblr.com/post/112230363742/how-to-install-wildfly-as-a-service-on-linux</a> that is based on a script [wildflyhome/bin/init.d/wildfly-init-redhat.sh] contained in the wildfly distribution. This script uses the declaration </p>

<p><code>JBOSS_CONSOLE_LOG="/var/log/wildfly/console.log"</code></p>

<p><strong>Problem:</strong> This configuration logs twice: Firstly in <code>server.log</code> (in wildflyhome/standalone/log) and secondly in <code>console.log</code>. This wastes storage (and maybe some performance). </p>

<p>Therefore I set</p>

<p><code>JBOSS_CONSOLE_LOG="wildflyhome/standalone/log/server.log"</code> </p>

<p>But now each log entry is written twice into server.log -:) </p>

<p><strong>Question:</strong> How can I configure wildfly such that it logs just once ? </p>