Fix log TAB3

Fix PROG gestione TaskMan
This commit is contained in:
Samuele Locatelli
2024-10-28 11:10:36 +01:00
parent 1b6d28f2eb
commit f44c32d501
39 changed files with 493 additions and 150 deletions
+3 -3
View File
@@ -25,9 +25,9 @@ namespace MP.Stats
{
logging.ClearProviders();
logging.SetMinimumLevel(Microsoft.Extensions.Logging.LogLevel.Information);
//logging.SetMinimumLevel(Microsoft.Extensions.Logging.LogLevel.Trace);
})
.UseNLog();
// importante per eseguire la conf logging
.UseNLog(new NLogAspNetCoreOptions() { RemoveLoggerFactoryFilter = false });
public static void Main(string[] args)
{
@@ -47,7 +47,7 @@ namespace MP.Stats
}
finally
{
NLog.LogManager.Shutdown();
LogManager.Shutdown();
}
}