I can't find any description of how to configure access logging for JBoss EAP 6.1 except https://access.redhat.com/site/solutions/185383 which requires a subscription. Can someone show an example on how to configure access logging with name of log file and file rotation? Now I have this config in standalone-full-ha.xml but how do I control file name and enable log rotation?
<subsystem xmlns="urn:jboss:domain:web:1.4" default-virtual-server="default-host" native="false"> ... <virtual-server name="default-host" enable-welcome-root="false"> <alias name="localhost"/> <access-log pattern="%h %l %u %t %r %s %b %{User-Agent}i %{JSESSIONID}c"> <directory relative-to="jboss.server.log.dir" /> </access-log> </virtual-server> </subsystem>