Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-7581

Ability to log user login in HTTP access.log

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.1
    • Component/s: None
    • Labels:

      Description

      Processed HTTP requests are logged into the file logs/access.log. Format can already be customized with the property sonar.web.accessLogs.pattern (see conf/sonar.properties) but it does not allow to log the login of the authenticated user.

      For technical reasons the commonly used field %u can not be used. The login of authenticated user, or "-" for anonymous, is configured with the field "%reqAttribute{LOGIN}". It is documented in sonar.properties.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sebastien.lesaint Sebastien Lesaint
              Reporter:
              simon.brandhof Simon Brandhof (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: