Skip to content

Commit 0b5daa0

Browse files
committed
fix: set bootstrapMethod to silent to mimic old functionality
1 parent 2fc14fc commit 0b5daa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Intility.Extensions.Logging.Elasticsearch/LoggerBuilderExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public static ILoggerBuilder UseElasticsearch(this ILoggerBuilder builder, strin
6969
var sinkOptions = new ElasticsearchSinkOptions(transport)
7070
{
7171
DataStream = new DataStreamName(indexFormat, dataSet, namespaceName),
72-
BootstrapMethod = BootstrapMethod.Failure,
72+
BootstrapMethod = BootstrapMethod.Silent,
7373
ChannelDiagnosticsCallback = channel => {
7474
SelfLog.WriteLine(
7575
$"Failure={channel.PublishSuccess}, " +

0 commit comments

Comments
 (0)