We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09808c9 commit d6e3cebCopy full SHA for d6e3ceb
src/DefaultBuilder/src/WebHost.cs
@@ -191,6 +191,12 @@ public static IWebHostBuilder CreateDefaultBuilder(string[] args)
191
})
192
.ConfigureLogging((hostingContext, logging) =>
193
{
194
+ logging.Configure(options =>
195
+ {
196
+ options.ActivityTrackingOptions = ActivityTrackingOptions.SpanId
197
+ | ActivityTrackingOptions.TraceId
198
+ | ActivityTrackingOptions.ParentId;
199
+ });
200
logging.AddConfiguration(hostingContext.Configuration.GetSection("Logging"));
201
logging.AddConsole();
202
logging.AddDebug();
0 commit comments