JBoss 7 is slightly different than earlier version JBoss 5 or 6. The procedure to enable access logs in JBoss 7 is also changed, and you must be familiar with how to enable access logs in JBoss 7.

Go to JBoss/standalone/configuration folder Add the following in standalone.xml look for domain:web syntax and ensure to add before closing tag

Ex:

Restart JBoss 7 server and verify the access logs under log folder.

You may refer following for valve patterns to capture in the access log. I hope now you have an idea how to enable access logs in JBoss for analyzing. Learn more about JBoss here.

JBoss 7 Access Log Configuration - 4JBoss 7 Access Log Configuration - 47JBoss 7 Access Log Configuration - 61JBoss 7 Access Log Configuration - 8JBoss 7 Access Log Configuration - 44JBoss 7 Access Log Configuration - 25