Summary

      The current Crowd documentation for enabling access logs How do I enable Access Logging for Crowd? suggests that adding the %{X-AUSERNAME}o attribute in the Tomcat Valve will record the username in the access logs. However, after testing, this is not working as documented because the header %{X-AUSERNAME}o does not exist in the Crowd requests.

      Steps to Reproduce

      1. Install a vanilla Crowd instance
      2. Enable access logging by following the steps described in this KB How do I enable Access Logging for Crowd?
      3. Restart Crowd for the changes to take effect
      4. Access the Crowd login page
      5. Check the newly created access log file

      Expected Results

      According to the documentation, the username should be documented with the incoming requests

      Actual Results

      The username is empty in all the requests

      Workaround

      There is no workaround at the moment

            [CWD-5216] Crowd access logs does not log the username

            Daniel Serkowski made changes -
            Remote Link Original: This issue links to "Page (Confluence)" [ 507100 ]
            Esteban Casuscelli made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 630474 ]
            Esteban Casuscelli made changes -
            Remote Link Original: This issue links to "Page (Confluence)" [ 630260 ]
            Esteban Casuscelli made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 630260 ]
            Pawel Gruszczynski (Inactive) made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 507100 ]
            Thiago P [Atlassian Support] made changes -
            Remote Link New: This issue links to "How do I enable Access Logging for Crowd? (Web Link)" [ 500726 ]
            Thiago P [Atlassian Support] made changes -
            Affects Version/s New: 4.1.0 [ 91601 ]
            Dawid Owoc (Inactive) made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 499303 ]
            Dawid Owoc (Inactive) made changes -
            Fix Version/s New: 4.2.0 [ 92192 ]
            Fix Version/s New: 4.1.1 [ 92305 ]
            Dawid Owoc (Inactive) made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Closed [ 6 ]

              07f034cb6f52 Daniel Serkowski
              rslaiby Rudy Slaiby
              Affected customers:
              9 This affects my team
              Watchers:
              17 Start watching this issue

                Created:
                Updated:
                Resolved: