diff --git a/src/AwsServiceAuthenticator.Cli/SerilogTraceRedirect.cs b/src/AwsServiceAuthenticator.Cli/SerilogTraceRedirect.cs index 57174d1..89540bc 100644 --- a/src/AwsServiceAuthenticator.Cli/SerilogTraceRedirect.cs +++ b/src/AwsServiceAuthenticator.Cli/SerilogTraceRedirect.cs @@ -11,16 +11,12 @@ public class SerilogTraceRedirect(ILogger logger) : TraceListener public override void Write(string? message) { if (!string.IsNullOrEmpty(message)) - { - _logger.LogInformation(message); - } + _logger.LogDebug(message); } public override void WriteLine(string? message) { if (!string.IsNullOrEmpty(message)) - { - _logger.LogInformation(message); - } + _logger.LogDebug(message); } } \ No newline at end of file diff --git a/src/AwsServiceAuthenticator.Cli/ServiceConfiguration.cs b/src/AwsServiceAuthenticator.Cli/ServiceConfiguration.cs index 7146bb6..335491d 100644 --- a/src/AwsServiceAuthenticator.Cli/ServiceConfiguration.cs +++ b/src/AwsServiceAuthenticator.Cli/ServiceConfiguration.cs @@ -93,4 +93,4 @@ private static IServiceCollection RegisterLogging(this IServiceCollection servic services.AddSingleton(_ => new SerilogLogger(logger)); return services; } -} +} \ No newline at end of file