Skip to content

Commit

Permalink
remove unnecessary log
Browse files Browse the repository at this point in the history
  • Loading branch information
area363 committed Dec 16, 2024
1 parent 23217ce commit bdfda08
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ public override async Task<ClientRequestIdentity> ResolveIdentityAsync(HttpConte
if (scheme.Equals("Bearer", System.StringComparison.OrdinalIgnoreCase))
{
_tokenHandler.ValidateToken(token, _validationParams, out _);
_logger.Information("[IP-RATE-LIMITER] Valid JWT token provided. Updating ClientIp to whitelisted IP.");
identity.ClientIp = _whitelistedIp;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ public async Task InvokeAsync(HttpContext context)
if (scheme.Equals("Bearer", System.StringComparison.OrdinalIgnoreCase))
{
_tokenHandler.ValidateToken(token, _validationParams, out _);
_logger.Information("[GRAPHQL-MULTI-ACCOUNT-MANAGER] Valid JWT token provided. Updating ClientIp to whitelisted IP.");
await _next(context);
return;
}
Expand Down Expand Up @@ -211,13 +210,6 @@ private void UpdateIpSignerList(string ip, Address agent)
ip);
_ipSignerList[ip] = new HashSet<Address>();
}
else
{
_logger.Information(
"[GRAPHQL-MULTI-ACCOUNT-MANAGER] List already created for IP: {IP} Count: {Count}",
ip,
_ipSignerList[ip].Count);
}

_ipSignerList[ip].Add(agent);
AddClientIpInfo(agent, ip);
Expand Down

0 comments on commit bdfda08

Please sign in to comment.