serilog-aspnetcore
serilog-aspnetcore copied to clipboard
How do I exclude package information?
I don't want to see the information highlighted in red at the Verbose logging level. How can I exclude it? What should I add to Overriders? This information does not make any sense to gRPC.
"Logging": {
"LogLevel": {
"Default": "Trace",
"System": "Information",
"Microsoft": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"Serilog": {
"MinimumLevel": {
"Default": "Verbose",
"Overriders": {
"System": "Warning",
"Microsoft": "Information",
"Microsoft.Hosting.Lifetime": "Warning",
"Microsoft.AspNetCore": "Warning"
}
}
}
Hi! I'd guess those are from a logger with a name like "Grpc" or "Google" - not sure without seeing more of the codebase. This one is a good question for Stack Overflow's serilog tag, where folks will likely have more time to work through the details with you. HTH!