Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -725,9 +725,7 @@ internal async Task RefreshVaultTokenAsync(CancellationToken cancellationToken)
Uri uri = GetVaultRenewUri();
HttpRequestMessage message = await GetVaultRenewRequestMessageAsync(uri, cancellationToken);

_logger.LogInformation("Renewing Vault token {Token} for {Ttl} milliseconds at Uri {Uri}", obscuredToken, ClientOptions.TokenTtl,
uri.ToMaskedString());

_logger.LogDebug("Renewing Vault token {Token} for {Ttl} milliseconds at Uri {Uri}", obscuredToken, ClientOptions.TokenTtl, uri.ToMaskedString());
using HttpResponseMessage response = await httpClient.SendAsync(message, cancellationToken);

if (response.StatusCode != HttpStatusCode.OK)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ private sealed class TestServiceInstance(Uri uri) : IServiceInstance
public int Port => throw new NotImplementedException();
public bool IsSecure => throw new NotImplementedException();
public Uri Uri { get; } = uri;
public Uri? NonSecureUri => throw new NotImplementedException();
public Uri? SecureUri => throw new NotImplementedException();
public Uri NonSecureUri => throw new NotImplementedException();
public Uri SecureUri => throw new NotImplementedException();
public IReadOnlyDictionary<string, string?> Metadata => throw new NotImplementedException();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ private async Task RegisterAsync(SpringBootAdminClientOptions clientOptions, Can
{
Application app = CreateApplication(new Uri(clientOptions.BaseUrl!), clientOptions);

_logger.LogInformation("Registering with Spring Boot Admin Server at {Url}.", clientOptions.Url);
_logger.LogDebug("Registering with Spring Boot Admin Server at {Url}.", clientOptions.Url);
_lastRegistrationId = await _springBootAdminApiClient.RegisterAsync(app, clientOptions, cancellationToken);
_lastGoodOptions = clientOptions;
}
Expand Down Expand Up @@ -175,7 +175,7 @@ private async Task SafeUnregisterAsync(SpringBootAdminClientOptions clientOption
{
try
{
_logger.LogInformation("Unregistering from Spring Boot Admin Server at {Url}.", clientOptions.Url);
_logger.LogDebug("Unregistering from Spring Boot Admin Server at {Url}.", clientOptions.Url);
await _springBootAdminApiClient.UnregisterAsync(_lastRegistrationId, clientOptions, cancellationToken);
_lastRegistrationId = null;
}
Expand Down