From 37a48d897b9d84d96268e8039a5872de679c24fc Mon Sep 17 00:00:00 2001 From: Artak Mkrtchyan Date: Tue, 19 Mar 2019 10:34:20 -0700 Subject: [PATCH] Update default log levels for templates --- .../content/EmptyWeb-CSharp/appsettings.json | 3 ++- .../content/RazorComponentsWeb-CSharp/appsettings.json | 3 ++- .../content/RazorPagesWeb-CSharp/appsettings.json | 3 ++- .../content/StarterWeb-CSharp/appsettings.json | 3 ++- .../content/WebApi-CSharp/appsettings.json | 3 ++- .../content/Worker-CSharp/appsettings.json | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-CSharp/appsettings.json b/src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-CSharp/appsettings.json index 7cb5ac8193..d9d9a9bff6 100644 --- a/src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-CSharp/appsettings.json +++ b/src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-CSharp/appsettings.json @@ -1,7 +1,8 @@ { "Logging": { "LogLevel": { - "Default": "Warning", + "Default": "Information", + "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information" } }, diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/RazorComponentsWeb-CSharp/appsettings.json b/src/ProjectTemplates/Web.ProjectTemplates/content/RazorComponentsWeb-CSharp/appsettings.json index 7cb5ac8193..d9d9a9bff6 100644 --- a/src/ProjectTemplates/Web.ProjectTemplates/content/RazorComponentsWeb-CSharp/appsettings.json +++ b/src/ProjectTemplates/Web.ProjectTemplates/content/RazorComponentsWeb-CSharp/appsettings.json @@ -1,7 +1,8 @@ { "Logging": { "LogLevel": { - "Default": "Warning", + "Default": "Information", + "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information" } }, diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/RazorPagesWeb-CSharp/appsettings.json b/src/ProjectTemplates/Web.ProjectTemplates/content/RazorPagesWeb-CSharp/appsettings.json index 526319943f..7b2e4ddbd8 100644 --- a/src/ProjectTemplates/Web.ProjectTemplates/content/RazorPagesWeb-CSharp/appsettings.json +++ b/src/ProjectTemplates/Web.ProjectTemplates/content/RazorPagesWeb-CSharp/appsettings.json @@ -33,7 +33,8 @@ //#endif "Logging": { "LogLevel": { - "Default": "Warning", + "Default": "Information", + "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information" } }, diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/appsettings.json b/src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/appsettings.json index 526319943f..7b2e4ddbd8 100644 --- a/src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/appsettings.json +++ b/src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/appsettings.json @@ -33,7 +33,8 @@ //#endif "Logging": { "LogLevel": { - "Default": "Warning", + "Default": "Information", + "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information" } }, diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/appsettings.json b/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/appsettings.json index 456da1fb8e..15c4b11e10 100644 --- a/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/appsettings.json +++ b/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/appsettings.json @@ -20,7 +20,8 @@ //#endif "Logging": { "LogLevel": { - "Default": "Warning", + "Default": "Information", + "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information" } }, diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/appsettings.json b/src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/appsettings.json index 56b30baa59..8983e0fc1c 100644 --- a/src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/appsettings.json +++ b/src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/appsettings.json @@ -1,7 +1,8 @@ { "Logging": { "LogLevel": { - "Default": "Warning", + "Default": "Information", + "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information" } }