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

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

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • ---
    • ---

      Add access logs to our default configurations. This is always handy for 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"/ enabled="true">
                      </host>
                  </server>
      

            rhn-support-rbudinsk Rastislav Budinský
            flaviarnn Flavia Rainone
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: