This content has been marked as final.
Show 3 replies
-
2. Re: How to enable access.log in jboss 7.2.0
peddi.praveen Dec 2, 2013 6:43 AM (in response to welle)I have tried this and edited standalone.xml as suggested, but it did not create any access log file.
-
3. Re: How to enable access.log in jboss 7.2.0
peddi.praveen Dec 14, 2013 2:22 AM (in response to peddi.praveen)I've figured it out and have configured the access logs. I have identified the actual domain controller and have enabled the configuration in the appropriate domain.xml profile configuration. For example you are using the "ha" profile then you need to add the below configuration in "has" profile "<virtual-hosts>" section.
<access-log pattern="%a %t %H %p %m %U %s %D %b" rotate="true" prefix="jboss-access-log-">
<directory path="." relative-to="jboss.server.log.dir"/>
</access-log>