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 - 38JBoss 7 Access Log Configuration - 33JBoss 7 Access Log Configuration - 32JBoss 7 Access Log Configuration - 13JBoss 7 Access Log Configuration - 81JBoss 7 Access Log Configuration - 44JBoss 7 Access Log Configuration - 88JBoss 7 Access Log Configuration - 79JBoss 7 Access Log Configuration - 18JBoss 7 Access Log Configuration - 50JBoss 7 Access Log Configuration - 88JBoss 7 Access Log Configuration - 55JBoss 7 Access Log Configuration - 63JBoss 7 Access Log Configuration - 32JBoss 7 Access Log Configuration - 45JBoss 7 Access Log Configuration - 29JBoss 7 Access Log Configuration - 62JBoss 7 Access Log Configuration - 18JBoss 7 Access Log Configuration - 21JBoss 7 Access Log Configuration - 3JBoss 7 Access Log Configuration - 66JBoss 7 Access Log Configuration - 77JBoss 7 Access Log Configuration - 65