Skip to content

Commit

Permalink
fix: set bootstrapMethod to silent to mimic old functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
loekensgard committed Nov 26, 2024
1 parent 2fc14fc commit 0b5daa0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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}, " +
Expand Down

0 comments on commit 0b5daa0

Please sign in to comment.