WildFly 9 Access Logging
<p>I am trying to set up access logging using WildFly 9 in Domain mode. I have found a few resources which suggest using something like this in the domain.xml file: </p>

<pre><code> &lt;host name="default-host" alias="localhost"&gt;
     &lt;location name="/" handler="welcome-content"/&gt;
     &lt;filter-ref name="server-header"/&gt;
     &lt;filter-ref name="x-powered-by-header"/&gt;
     &lt;access-log pattern="%A%t%h%l%u%r%s%b%T%I" directory="${jboss.server.log.dir}" prefix="access" suffix=".log"/&gt;
 &lt;/host&gt;
</code></pre>

<p>I then restarted wildfly, but no logging is occurring and there are no errors in the wildfly start up, so I am just banging my head against the wall. I would really appreciate any help that anyone can provide.</p>

<p>Also is there a way to register access logging using the cli in domain mode?</p>