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 7ce4de9 commit 8ad13dcCopy full SHA for 8ad13dc
backend/CrdtMerge/CrdtMergeKernel.cs
@@ -9,10 +9,7 @@ public static class CrdtMergeKernel
9
public static void AddCrdtMerge(this IServiceCollection services)
10
{
11
services
12
- .AddLogging(builder => builder.AddConsole().AddDebug().AddConfiguration(new ConfigurationManager().AddInMemoryCollection(new Dictionary<string, string?>
13
- {
14
- ["Logging:LogLevel:Microsoft.EntityFrameworkCore"] = "Warning"
15
- }).Build()));
+ .AddLogging(builder => builder.AddConsole().AddDebug().AddFilter("Microsoft.EntityFrameworkCore", LogLevel.Warning));
16
services.AddOptions<CrdtMergeConfig>()
17
.BindConfiguration("SendReceiveConfig")
18
.ValidateDataAnnotations()
0 commit comments