In case as a system admin, you needs to monitor the http request activities on wildfly, one will need to enable the access log. To do the same, follow these steps-
- Stop the wildfly service in case it is already running
- Open file standalone.xml from below location
- File Location : - '.../WILDFLY_HOME/standalone/configuration'
- Add the following line in standalone.xml to enable access log in wildfly (This line can be added anywhere in the file independently)
- <access-log pattern="common" directory="${jboss.home.dir}/standalone/log" prefix="access" suffix=".log" worker="default"/>
Common pattern is %A %t %h %l %u %r %s %b %T %I
Other pattern also available.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article