Sorry I don't understand the question. You posted the read resource output which shows the access-log configuration but you also mention that you couldn't configure it via CLI. What error are you runing into and what command are you using?

This is a bit more helpful, but again, there doesn't seem to be a way to modify an existing virtual host. The only operations that are listed are "remove" and "add". Does this mean you need to remove the existing host and then re-add it with new attributes?

I'm not too familiar with the web subsystem but seems the access log is at the address: /subsystem=web/virtual-server=default-host/access-log. Since that resource is empty you'd typically execute 'add' to add it.

If you use the CLI GUI you wil see the help text that comes from read-opearation-description. So you just right-click on a node and you get all the operations. From there you can hover over an operation and see its help description. Then if you select an operation you will get a dialog. For each param in the dialog you can hover to see the help description of the param. Fill in the form and you've got your fully-formatted command that you can submit.

The cli stuff is our layer on top of the tomcat config. Under the hood you'll end up with something similar to the snippet you showed me going on but from the AS point of view you need to do this via standalone.xml or cli. Our docs are at http://www.jboss.org/jbossas/docs/7-x.html, although they seem to be missing the access log part. I'll ask someone who knows about that to fill it in.

What you can do for now is get it working via xml, and then view the output of /subsystem=web/virtual-server=default-host/access-log=configuration:read-resource(recursive=true). If you can't figure out what values to add for the add operation from that post here, and similarly if you can please post what you used.