79523272

Date: 2025-03-20 14:41:57
Score: 0.5
Natty:
Report link

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.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Mihai Socaciu