Skip to content

Commit

Permalink
Adjust log level (#1893)
Browse files Browse the repository at this point in the history
  • Loading branch information
sruke committed Jun 28, 2022
1 parent 7e261f5 commit 1d9abdc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Microsoft.IdentityModel.Tokens/Validators.cs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ internal static string ValidateIssuer(string issuer, SecurityToken securityToken

if (!validationParameters.ValidateIssuer)
{
LogHelper.LogInformation(LogMessages.IDX10235);
LogHelper.LogWarning(LogMessages.IDX10235);
return issuer;
}

Expand Down Expand Up @@ -338,7 +338,7 @@ internal static void ValidateIssuerSecurityKey(SecurityKey securityKey, Security

if (!validationParameters.ValidateIssuerSigningKey)
{
LogHelper.LogInformation(LogMessages.IDX10237);
LogHelper.LogVerbose(LogMessages.IDX10237);
return;
}

Expand Down Expand Up @@ -455,7 +455,7 @@ public static void ValidateTokenReplay(DateTime? expirationTime, string security

if (!validationParameters.ValidateTokenReplay)
{
LogHelper.LogInformation(LogMessages.IDX10246);
LogHelper.LogVerbose(LogMessages.IDX10246);
return;
}

Expand Down Expand Up @@ -514,7 +514,7 @@ public static string ValidateTokenType(string type, SecurityToken securityToken,

if (validationParameters.TypeValidator == null && (validationParameters.ValidTypes == null || !validationParameters.ValidTypes.Any()))
{
LogHelper.LogInformation(LogMessages.IDX10255);
LogHelper.LogVerbose(LogMessages.IDX10255);
return type;
}

Expand Down

0 comments on commit 1d9abdc

Please sign in to comment.