In order to enable the access log in a virutal host simply add tag in host standalone.xml configuration
example:
<host name="default-host" alias="localhost">
<location name="/" handler="welcome-content"/>
<access-log pattern="common" directory="${jboss.server.log.dir}" prefix="access"/>
<filter-ref name="server-header"/>
<filter-ref name="x-powered-by-header"/>
</host>
No comments:
Post a Comment