From 0b5daa0a12410839140c25a342b9fc527a52db7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorstein=20L=C3=B8kensgard?= Date: Tue, 26 Nov 2024 13:19:20 +0100 Subject: [PATCH] fix: set bootstrapMethod to silent to mimic old functionality --- .../LoggerBuilderExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Intility.Extensions.Logging.Elasticsearch/LoggerBuilderExtensions.cs b/src/Intility.Extensions.Logging.Elasticsearch/LoggerBuilderExtensions.cs index a9f9539..049530e 100644 --- a/src/Intility.Extensions.Logging.Elasticsearch/LoggerBuilderExtensions.cs +++ b/src/Intility.Extensions.Logging.Elasticsearch/LoggerBuilderExtensions.cs @@ -69,7 +69,7 @@ public static ILoggerBuilder UseElasticsearch(this ILoggerBuilder builder, strin var sinkOptions = new ElasticsearchSinkOptions(transport) { DataStream = new DataStreamName(indexFormat, dataSet, namespaceName), - BootstrapMethod = BootstrapMethod.Failure, + BootstrapMethod = BootstrapMethod.Silent, ChannelDiagnosticsCallback = channel => { SelfLog.WriteLine( $"Failure={channel.PublishSuccess}, " +