Enable access log in Wildfly

Modified on Thu, 14 Mar at 1:11 PM

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.



Access Log Business Intelligence Support Business Intelligence Articles Business Intelligence Training

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article