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

Avoid auth logs pollution when forced authentication is on

    Details

      Description

      When sonar.forceAuthentication=true is set, there are two debug logs in web.log :

      2017.10.10 15:49:34 DEBUG web[AV8Gd4bkb+OZE3LQAACJ][auth.event] login failure [cause|User must be authenticated][method|BASIC][provider|LOCAL|local][IP|0:0:0:0:0:0:0:1|][login|]
      2017.10.10 15:49:34 DEBUG web[AV8Gd4bkb+OZE3LQAACN][auth.event] login failure [cause|User must be authenticated][method|BASIC][provider|LOCAL|local][IP|0:0:0:0:0:0:0:1|][login|]
      

      However, there is only one request from the browser returning a 401 http code.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eric.hartmann Eric Hartmann
                Reporter:
                stas.vilchik Stas Vilchik (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: