File tree 2 files changed +4
-0
lines changed
test/DapperTests/IntegrationTests
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ jobs:
131
131
# Reduce logging output from tests in cibuild.
132
132
Logging__LogLevel__Microsoft.Hosting.Lifetime : ' None'
133
133
Logging__LogLevel__Microsoft.AspNetCore.Hosting.Diagnostics : ' None'
134
+ Logging__LogLevel__Microsoft.Extensions.Hosting.Internal.Host : ' None'
134
135
Logging__LogLevel__Microsoft.EntityFrameworkCore.Database.Command : ' None'
135
136
Logging__LogLevel__JsonApiDotNetCore : ' None'
136
137
Logging__LogLevel__DapperExample : ' None'
Original file line number Diff line number Diff line change @@ -69,6 +69,9 @@ private WebApplicationFactory<TodoItem> CreateFactory()
69
69
{
70
70
if ( _testOutputHelper != null )
71
71
{
72
+ #if ! DEBUG
73
+ loggingBuilder . ClearProviders ( ) ;
74
+ #endif
72
75
loggingBuilder . Services . AddSingleton < ILoggerProvider > ( _ => new XUnitLoggerProvider ( _testOutputHelper , "DapperExample." ) ) ;
73
76
}
74
77
} ) ;
You can’t perform that action at this time.
0 commit comments