use entry-assembly default logging severity "debug"
This commit is contained in:
@@ -26,7 +26,7 @@ public class LogLevelOverrides : Dictionary<string, LogLevel>
|
|||||||
this["System.Net.Http.HttpClient"] = LogLevel.Warning;
|
this["System.Net.Http.HttpClient"] = LogLevel.Warning;
|
||||||
this["Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager"] = LogLevel.Error;
|
this["Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager"] = LogLevel.Error;
|
||||||
|
|
||||||
string executingAssemblyName = Assembly.GetExecutingAssembly().GetName().Name;
|
string executingAssemblyName = Assembly.GetEntryAssembly()?.GetName().Name;
|
||||||
if (executingAssemblyName != null)
|
if (executingAssemblyName != null)
|
||||||
{
|
{
|
||||||
this[executingAssemblyName] = LogLevel.Debug;
|
this[executingAssemblyName] = LogLevel.Debug;
|
||||||
|
|||||||
Reference in New Issue
Block a user