Skip to main content
Kofax

MarkView Application Server - Wildfly - Enabling Access Log

Summary

13248

Applies To

  • ERP System: Oracle, SAP
  • MarkView Version: All

Behavior

System Administrator need to enable login in Wildly for debugging purposes

Known Causes

By default access log logging is not enabled on the Wildfly Application Server

Resolution

  • To enable, logon to your server as the jboss user
  • Open the standalone.xml file in $JBOSS_HOME/standalone/configuration for editing
    • Search for ‘host name=’ and add the <access-log/> tag in the below section similar to:
      <host name="default-host" alias="localhost">
          <location name="/" handler="welcome-content"/>
                    <filter-ref name="server-header"/>
               <filter-ref name="x-powered-by-header"/>
      <access-log/>
                    </host> 
  • Restart the Wildfly Application Server
  • Verify the access_log.log file is created in the Wildfly server log files location:
    • <JBOSS_HOME>/standalone/log where <JBOSS_HOME> is the home directory for Wildfly.

Keywords: Jboss, wildlfy, access log