I found a way by using the available Serilog options, even though its not the same, it does the hiding:
"Serilog": {
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft.EntityFrameworkCore.Database.Command": "Error"
}
},
...
Keeping the question open for a little in case someone knows a better variant.