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

access log doesn't support %{r,xxx}

    XMLWordPrintable

Details

    Description

      AccessLogHandler's javadoc mentions:

      %{r,xxx} xxx is an attribute in the ServletRequest

      But adding the following to access log pattern

      %{r,javax.servlet.error.status_code}
      

      results in a server log message:

      19:55:55,432 ERROR [undertow] (MSC service thread 1-6) UT005017: Unknown variable %{r,javax.servlet.error.status_code}
      

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            vsevolodgol Vsevolod Golovanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: