Skip to main content
Skip table of contents

Activating .log file

  • The .log file is read in at server startup.
  • The file name of the .log file must not be changed.

To enable the .log file, the following changes are required in <WildFly>\standalone\configuration\standalone.xml.

  1. In the <subsystem xmlns="urn:jboss:domain:logging:8.0"> element, add the following section:

    XML
    <custom-handler name="PROFILING" class="org.jboss.logmanager.handlers.PeriodicSizeRotatingFileHandler" module="org.jboss.logmanager">
       <formatter>
        <named-formatter name="PROFILING-PATTERN"/>
      </formatter>
        <properties>
          <property name="autoFlush" value="true" />
          <property name="append" value="true" />
          <property name="rotateSize" value="20000000" />
          <property name="maxBackupIndex" value="1" />
          <property name="suffix" value=".yyyy-MM-dd" />
          <property name="fileName" value="${jboss.server.log.dir}/profiling.log" />
      </properties>
    </custom-handler>
  2. In the <logger category="X4-Profiling-Filesystem" use-parent-handlers="false"> element, add the following section:

    XML
    <handlers>
      <handler name="PROFILING"/>
    </handlers>
  3. Save standalone.xml.
  4. Restart X4 Server.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.