diff --git a/MP.IOC/Controllers/IOBController.cs b/MP.IOC/Controllers/IOBController.cs index 3e452976..7df179a4 100644 --- a/MP.IOC/Controllers/IOBController.cs +++ b/MP.IOC/Controllers/IOBController.cs @@ -884,14 +884,7 @@ namespace MP.IOC.Controllers answ = await IOCService.ProcessInputAsync(id, valore, dtEve, dtCurr, cnt); //answ = await DService.ProcessInputAsync(id, valore, dtEve, dtCurr, cnt); sw.Stop(); - if (sw.Elapsed.TotalMilliseconds > 40) - { - Log.Info($"Input | elapsed: {sw.Elapsed.TotalMilliseconds:N1} | id: {id} | val: {valore} | cnt: {cnt}"); - } - else - { - Log.Debug($"Input | elapsed: {sw.Elapsed.TotalMilliseconds:N1} | id: {id} | val: {valore} | cnt: {cnt}"); - } + Log.Debug($"Input | elapsed: {sw.Elapsed.TotalMilliseconds:N1} | id: {id} | val: {valore} | cnt: {cnt}"); return Ok(answ); } catch (Exception exc) diff --git a/MP.IOC/appsettings.Development.json b/MP.IOC/appsettings.Development.json index 770d3e93..b9395333 100644 --- a/MP.IOC/appsettings.Development.json +++ b/MP.IOC/appsettings.Development.json @@ -2,7 +2,7 @@ "DetailedErrors": true, "Logging": { "LogLevel": { - "Default": "Information", + "Default": "Debug", "Microsoft.AspNetCore": "Warning" } } diff --git a/MP.IOC/appsettings.json b/MP.IOC/appsettings.json index d7c5727c..93bee530 100644 --- a/MP.IOC/appsettings.json +++ b/MP.IOC/appsettings.json @@ -1,7 +1,7 @@ { "Logging": { "LogLevel": { - "Default": "Information", + "Default": "Debug", "Microsoft.AspNetCore": "Warning", "Microsoft.EntityFrameworkCore.Database.Command": "Warning", "Microsoft.EntityFrameworkCore.Infrastructure": "Warning",