We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58491e7 commit 7d330c3Copy full SHA for 7d330c3
test/TestBuildingBlocks/IntegrationTestContext.cs
@@ -173,7 +173,18 @@ protected override IHostBuilder CreateHostBuilder()
173
webBuilder.ConfigureServices(services => _configureServices?.Invoke(services));
174
webBuilder.UseStartup<TStartup>();
175
})
176
- .ConfigureLogging(options => _loggingConfiguration?.Invoke(options));
+ .ConfigureLogging(options =>
177
+ {
178
+ if (_loggingConfiguration != null)
179
180
+ _loggingConfiguration.Invoke(options);
181
+ }
182
+ else
183
184
+ options.SetMinimumLevel(LogLevel.Warning);
185
+ options.ClearProviders();
186
187
+ });
188
189
// @formatter:wrap_before_first_method_call restore
190
// @formatter:wrap_chained_method_calls restore
0 commit comments