Closed cesarbmx closed 4 years ago
Change log level in appsettings.json.
{
"Logging": {
"LogLevel": {
"Default": "Warning"
}
},
"Serilog": {
"MinimumLevel": {
"Default": "Warning"
}
}
}
Thank you.
I guess these memcached logs come asLogLevel: Information
Since I am also logging Information from my application code, what you suggest would also hide my application related logs.
Is there a way to hide Enyim specific logs while keeping LogLevel: Information
in the appsettings?
Use the following log level settings.
{
"Logging": {
"LogLevel": {
"Default": "Warning",
"Enyim.Caching": "Warning"
}
},
"Serilog": {
"MinimumLevel": {
"Default": "Warning",
"Override": {
"Enyim.Caching": "Warning"
}
}
}
}
It worked! Thank you very much.
How can I avoid seeing the below trace in my log? I am using IDistributedCache with default configuration. I believed that, by default, the client was coming with logging disabled.