From effa2d3408a2891c922f5a429807242eb3349386 Mon Sep 17 00:00:00 2001 From: Maycon Santos Date: Thu, 26 Oct 2023 17:19:31 +0200 Subject: [PATCH 1/2] Log auth0 batch length --- management/server/idp/auth0.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/server/idp/auth0.go b/management/server/idp/auth0.go index d3802d8ad96..cde3c571f69 100644 --- a/management/server/idp/auth0.go +++ b/management/server/idp/auth0.go @@ -337,7 +337,7 @@ func (am *Auth0Manager) GetAccount(accountID string) ([]*UserData, error) { return nil, err } - log.Debugf("returned user batch for accountID %s on page %d, %v", accountID, page, batch) + log.Debugf("returned user batch for accountID %s on page %d, batch lenght %d", accountID, page, len(batch)) err = res.Body.Close() if err != nil { From 463abb9158983f2e8d47879451eaeacc9508eea0 Mon Sep 17 00:00:00 2001 From: Maycon Santos Date: Thu, 26 Oct 2023 17:23:29 +0200 Subject: [PATCH 2/2] typo --- management/server/idp/auth0.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/server/idp/auth0.go b/management/server/idp/auth0.go index cde3c571f69..745136f6283 100644 --- a/management/server/idp/auth0.go +++ b/management/server/idp/auth0.go @@ -337,7 +337,7 @@ func (am *Auth0Manager) GetAccount(accountID string) ([]*UserData, error) { return nil, err } - log.Debugf("returned user batch for accountID %s on page %d, batch lenght %d", accountID, page, len(batch)) + log.Debugf("returned user batch for accountID %s on page %d, batch length %d", accountID, page, len(batch)) err = res.Body.Close() if err != nil {