enchanche: ajusto para que no me salgan en desarollo los logs duplicados del ExceptionHandler

This commit is contained in:
javiermengual 2025-12-30 13:28:13 +01:00
parent 17ebf5c2fe
commit 3f3fd25a02
2 changed files with 4 additions and 2 deletions

View File

@ -2,7 +2,8 @@
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
"Microsoft.AspNetCore": "Warning",
"Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware": "None"
}
}
}

View File

@ -2,7 +2,8 @@
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
"Microsoft.AspNetCore": "Warning",
"Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware": "None"
}
},
"AllowedHosts": "*",