From d87377c25c9488362059889a22870fe45d89a05e Mon Sep 17 00:00:00 2001 From: littlefoot Date: Sat, 6 Nov 2021 23:27:33 -0400 Subject: [PATCH] Fix some logging for production --- TOOHUCardAPI/appsettings.Development.json | 2 +- TOOHUCardAPI/appsettings.Production.json | 6 +++--- TOOHUCardAPI/nlog.config | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/TOOHUCardAPI/appsettings.Development.json b/TOOHUCardAPI/appsettings.Development.json index 8983e0f..4f30a00 100644 --- a/TOOHUCardAPI/appsettings.Development.json +++ b/TOOHUCardAPI/appsettings.Development.json @@ -1,7 +1,7 @@ { "Logging": { "LogLevel": { - "Default": "Information", + "Default": "Debug", "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information" } diff --git a/TOOHUCardAPI/appsettings.Production.json b/TOOHUCardAPI/appsettings.Production.json index e02243f..a881826 100644 --- a/TOOHUCardAPI/appsettings.Production.json +++ b/TOOHUCardAPI/appsettings.Production.json @@ -4,9 +4,9 @@ }, "Logging": { "LogLevel": { - "Default": "Debug", - "System": "Information", - "Microsoft": "Information" + "Default": "Information", + "Microsoft": "Warning", + "Microsoft.Hosting.Lifetime": "Information" } } } \ No newline at end of file diff --git a/TOOHUCardAPI/nlog.config b/TOOHUCardAPI/nlog.config index aaf415e..4bc6850 100644 --- a/TOOHUCardAPI/nlog.config +++ b/TOOHUCardAPI/nlog.config @@ -4,7 +4,7 @@ autoReload="true" internalLogToConsole="true" throwConfigExceptions="true" - internalLogLevel="Info" > + internalLogLevel="Trace" >