Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.
/ ServerCommon Public archive

Commit

Permalink
Reduce log noise (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
loic-sharma authored Mar 28, 2019
1 parent 6d8867c commit a827b73
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/NuGet.Services.Sql/AzureSqlConnectionFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,6 @@ protected virtual async Task<string> AcquireAccessTokenAsync(string clientCertif
{
var authResult = await AccessTokenCache.GetAsync(ConnectionString, clientCertificateData, Logger);

Logger?.LogInformation("Using access token {Token} for catalog {Catalog} which expires in {ExpirationMinutes}m.",
authResult.AccessToken.GetHashCode(),
ConnectionString.Sql.InitialCatalog,
(authResult.ExpiresOn - DateTimeOffset.Now).TotalMinutes.ToString("F2"));

return authResult.AccessToken;
}
}
Expand Down

0 comments on commit a827b73

Please sign in to comment.