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.
i could not use jboss-web.xml with valves, because it will not be supported! i know, i can create the swarm programmatically like:
ClassLoader cl = Main.class.getClassLoader();
URL xmlConfig = cl.getResource("standalone.xml");
Swarm swarm = new Swarm(false)
.withXmlConfig(xmlConfig);
[...]
any other tipps, declaratively xml like jboss-web.xml?
thanks in advance & best regards
Shan