I have recently set up Serilog to handle my logging activities to the database. However, when I started it up, I noticed plenty of System and Microsoft activities filling up the rows. I have tried to add several overrides in my Serilog filters but some like Executed action method and Db Command remains. What do I need to override to remove them from my logs?
My appsettings.json
"Serilog": {
"MinimumLevel": "Information",
"Override": {
"Microsoft": "Error",
"Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory": "Error",
"Microsoft.EntityFrameworkCore.Database.Command": "Error",
"Microsoft.AspNetCore.Hosting.Internal.WebHost": "Error",
"ToDoApi": "Error",
"Engine": "Error",
"System": "Error"
},