Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-15727

Enable access logs with response times and thread info in our default configs

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Unresolved
    • Major
    • None
    • None
    • Web (Undertow)
    • None

    Description

      Add access logs to our default configurations to assist with troubleshooting.

      It specifically can be helpful to include "%S %I %T" in the pattern and record-request-start-time on the listeners so that we have some info on the session activity and also response times and thread details to correlate to thread dumps as needed for performance issue investigations.

                  <server name="default-server">
                      <http-listener name="default" socket-binding="http" redirect-socket="https" enable-http2="true" record-request-start-time="true"/>
                      <https-listener name="https" socket-binding="https" security-realm="ApplicationRealm" enable-http2="true" record-request-start-time="true"/>
                      <host name="default-host" alias="localhost">
                          <location name="/" handler="welcome-content"/>
                          <http-invoker security-realm="ApplicationRealm"/>
                          <access-log pattern="%h %l %u %t %r %s %b %S %I %T"/>
                      </host>
                  </server>
      

      Attachments

        Issue Links

          Activity

            People

              flaviarnn Flavia Rainone
              flaviarnn Flavia Rainone
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: