how can i enable access-log for my application with wildfly-swarm?
<p>I have created a RestApplication with wildfly-swarm. the application logging works well with the log4j2. But i do not know, how can i any enable the access-log for my application. </p>

<p>i could not use jboss-web.xml with valves, because it will not be supported! i know, i can create the swarm programmatically like:</p>

<pre><code>ClassLoader cl = Main.class.getClassLoader();
URL xmlConfig = cl.getResource("standalone.xml");

Swarm swarm = new Swarm(false)
        .withXmlConfig(xmlConfig);

[...]
</code></pre>

<p>any other tipps, declaratively xml like jboss-web.xml?</p>

<p>thanks in advance &amp; best regards</p>

<p>Shan</p>