diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/appsettings.Development.json b/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/appsettings.Development.json index 3a5d431bd7..a6df76fdc4 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/appsettings.Development.json +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/appsettings.Development.json @@ -5,25 +5,18 @@ "Polly": "Warning", "Microsoft.AspNetCore*": "Warning", "System.Net.Http.HttpClient": "Warning", + "StackExchange.Redis.ConnectionMultiplexer": "Warning", + "ZiggyCreatures.Caching.Fusion.FusionCache": "Warning", "System.Net.Http.HttpClient.*.LogicalHandler": "Warning", "Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware": "None" }, //#if (appInsights == true) - "ApplicationInsights": { - "LogLevel": { - "Default": "Information", - "Polly": "Warning", - "Microsoft.AspNetCore*": "Warning", - "System.Net.Http.HttpClient.*.LogicalHandler": "Warning" - } - }, "ApplicationInsightsLoggerProvider": { "LogLevel": { "Default": "Information", "Polly": "Warning", "Microsoft.AspNetCore*": "Warning", - "System.Net.Http.HttpClient": "Warning", - "System.Net.Http.HttpClient.*.LogicalHandler": "Warning" + "System.Net.Http.HttpClient": "Warning" } }, //#endif @@ -33,6 +26,9 @@ "Default": "Information", "Polly": "Warning", "Microsoft.AspNetCore*": "Warning", + "System.Net.Http.HttpClient": "Warning", + "StackExchange.Redis.ConnectionMultiplexer": "Warning", + "ZiggyCreatures.Caching.Fusion.FusionCache": "Warning", "System.Net.Http.HttpClient.*.LogicalHandler": "Warning", "Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware": "None" } @@ -43,6 +39,9 @@ "Default": "Information", "Polly": "Warning", "Microsoft.AspNetCore*": "Warning", + "System.Net.Http.HttpClient": "Warning", + "StackExchange.Redis.ConnectionMultiplexer": "Warning", + "ZiggyCreatures.Caching.Fusion.FusionCache": "Warning", "System.Net.Http.HttpClient.*.LogicalHandler": "Warning", "Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware": "None" } @@ -52,6 +51,9 @@ "Default": "Information", "Polly": "Warning", "Microsoft.AspNetCore*": "Warning", + "System.Net.Http.HttpClient": "Warning", + "StackExchange.Redis.ConnectionMultiplexer": "Warning", + "ZiggyCreatures.Caching.Fusion.FusionCache": "Warning", "System.Net.Http.HttpClient.*.LogicalHandler": "Warning", "Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware": "None" } @@ -61,8 +63,7 @@ "Default": "Information", "Polly": "Warning", "Microsoft.AspNetCore*": "Warning", - "System.Net.Http.HttpClient": "Warning", - "System.Net.Http.HttpClient.*.LogicalHandler": "Warning" + "System.Net.Http.HttpClient": "Warning" } }, "EventLog": { @@ -70,6 +71,9 @@ "Default": "Information", "Polly": "Warning", "Microsoft.AspNetCore*": "Warning", + "System.Net.Http.HttpClient": "Warning", + "StackExchange.Redis.ConnectionMultiplexer": "Warning", + "ZiggyCreatures.Caching.Fusion.FusionCache": "Warning", "System.Net.Http.HttpClient.*.LogicalHandler": "Warning", "Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware": "None" } @@ -79,14 +83,15 @@ "Default": "Information", "Polly": "Warning", "Microsoft.AspNetCore*": "Warning", + "System.Net.Http.HttpClient": "Warning", + "StackExchange.Redis.ConnectionMultiplexer": "Warning", + "ZiggyCreatures.Caching.Fusion.FusionCache": "Warning", "System.Net.Http.HttpClient.*.LogicalHandler": "Warning", "Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware": "None" } }, "DiagnosticLogger": { "LogLevel": { - "Polly": "Warning", - "Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware": "None", "Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware": "None" } }, @@ -95,8 +100,10 @@ "Default": "Information", "Polly": "Warning", "Microsoft.AspNetCore*": "Warning", + "System.Net.Http.HttpClient": "Warning", + "StackExchange.Redis.ConnectionMultiplexer": "Warning", + "ZiggyCreatures.Caching.Fusion.FusionCache": "Warning", "System.Net.Http.HttpClient.*.LogicalHandler": "Warning", - "Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware": "None", "Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware": "None" } } diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/appsettings.json b/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/appsettings.json index 2f1b834cdb..babe70f34c 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/appsettings.json +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/appsettings.json @@ -8,25 +8,17 @@ "LogLevel": { "Default": "Warning", "Microsoft.Hosting.Lifetime": "Information", - "ZiggyCreatures.Caching.Fusion.FusionCache": "Warning", - "StackExchange.Redis.ConnectionMultiplexer": "Warning", + "Boilerplate.Client.Core.Services.AuthManager": "Information", "Microsoft.EntityFrameworkCore.Database.Command": "Information", "Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware": "None" }, //#if (appInsights == true) - "ApplicationInsights": { - "Comment": "Enable Azure Application Insights for Client.Maui and Client.Windows", - "LogLevel": { - "Default": "Warning", - "Microsoft.Hosting.Lifetime": "Information", - "Microsoft.EntityFrameworkCore.Database.Command": "Information" - } - }, "ApplicationInsightsLoggerProvider": { "Comment": "Enable Azure Application Insights for WebAssembly", "LogLevel": { "Default": "Warning", "Microsoft.Hosting.Lifetime": "Information", + "Boilerplate.Client.Core.Services.AuthManager": "Information", "Microsoft.EntityFrameworkCore.Database.Command": "Information" } }, @@ -42,8 +34,6 @@ "LogLevel": { "Default": "Warning", "Microsoft.Hosting.Lifetime": "Information", - "ZiggyCreatures.Caching.Fusion.FusionCache": "Warning", - "StackExchange.Redis.ConnectionMultiplexer": "Warning", "Boilerplate.Client.Core.Services.AuthManager": "Information", "Microsoft.EntityFrameworkCore.Database.Command": "Information", "Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware": "None" @@ -55,8 +45,6 @@ "LogLevel": { "Default": "Warning", "Microsoft.Hosting.Lifetime": "Information", - "ZiggyCreatures.Caching.Fusion.FusionCache": "Warning", - "StackExchange.Redis.ConnectionMultiplexer": "Warning", "Boilerplate.Client.Core.Services.AuthManager": "Information", "Microsoft.EntityFrameworkCore.Database.Command": "Information", "Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware": "None" @@ -67,8 +55,7 @@ "LogLevel": { "Default": "Warning", "Microsoft.Hosting.Lifetime": "Information", - "ZiggyCreatures.Caching.Fusion.FusionCache": "Warning", - "StackExchange.Redis.ConnectionMultiplexer": "Warning", + "Boilerplate.Client.Core.Services.AuthManager": "Information", "Microsoft.EntityFrameworkCore.Database.Command": "Information", "Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware": "None" } @@ -76,6 +63,8 @@ "WebAssemblyConsoleLoggerProvider": { "LogLevel": { "Default": "Warning", + "Microsoft.Hosting.Lifetime": "Information", + "Boilerplate.Client.Core.Services.AuthManager": "Information", "Microsoft.EntityFrameworkCore.Database.Command": "Information" } }, @@ -83,8 +72,7 @@ "LogLevel": { "Default": "Warning", "Microsoft.Hosting.Lifetime": "Information", - "ZiggyCreatures.Caching.Fusion.FusionCache": "Warning", - "StackExchange.Redis.ConnectionMultiplexer": "Warning", + "Boilerplate.Client.Core.Services.AuthManager": "Information", "Microsoft.EntityFrameworkCore.Database.Command": "Information", "Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware": "None" } @@ -93,8 +81,7 @@ "LogLevel": { "Default": "Warning", "Microsoft.Hosting.Lifetime": "Information", - "ZiggyCreatures.Caching.Fusion.FusionCache": "Warning", - "StackExchange.Redis.ConnectionMultiplexer": "Warning", + "Boilerplate.Client.Core.Services.AuthManager": "Information", "Microsoft.EntityFrameworkCore.Database.Command": "Information", "Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware": "None" } @@ -102,10 +89,12 @@ "DiagnosticLogger": { "LogLevel": { "Default": "Information", + "Polly": "Warning", "Microsoft.AspNetCore*": "Warning", - "Microsoft.Hosting.Lifetime": "Information", - "Microsoft.AspNetCore.Authorization": "Information", - "System.Net.Http.HttpClient.*.LogicalHandler": "Warning" + "StackExchange.Redis.ConnectionMultiplexer": "Warning", + "ZiggyCreatures.Caching.Fusion.FusionCache": "Warning", + "System.Net.Http.HttpClient.*.LogicalHandler": "Warning", + "Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware": "None" } }, "Debug": { @@ -119,4 +108,4 @@ "SizeLimit__Comment": "Total capacity of the L1 cache. Unit is arbitrary; we treat it as 1 unit per average entry." }, "$schema": "https://json.schemastore.org/appsettings.json" -} +} \ No newline at end of file