From 975474bce501f4f12e789fc82aba181240558d6a Mon Sep 17 00:00:00 2001 From: Tino Hager Date: Tue, 2 Jan 2024 15:15:12 +0100 Subject: [PATCH] optimize logging --- .../Controllers/AuthenticationController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Nager.Authentication.AspNet/Controllers/AuthenticationController.cs b/src/Nager.Authentication.AspNet/Controllers/AuthenticationController.cs index 344c4b6..3f755f0 100644 --- a/src/Nager.Authentication.AspNet/Controllers/AuthenticationController.cs +++ b/src/Nager.Authentication.AspNet/Controllers/AuthenticationController.cs @@ -140,7 +140,7 @@ public async Task> AuthenticateAsync( }; var authenticationStatus = await this._userAuthenticationService.ValidateCredentialsAsync(authenticationRequest, cancellationToken); - this._logger.LogInformation($"{nameof(AuthenticateAsync)} - EmailAddress:{request.EmailAddress} {authenticationStatus}"); + this._logger.LogInformation($"{nameof(AuthenticateAsync)} - EmailAddress:{request.EmailAddress} AuthenticationStatus:{authenticationStatus}"); switch (authenticationStatus) {