You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a little confused by some wording differences in issue #100, the docs and the nuget page. I also read the linked efcore issue and it made my head spin. I've encountered this problem before, so I don't want to make a mistake.
If we use EF Core - v8 or above - what should we do?
Reference Serilog.Exceptions, or
Reference Serilog.Exceptions.EntityFrameworkCore AND use this config:
Version 8 or newer of Serilog.Exceptions >>>REDUCES<<< the problem by preventing the destructure of properties that implement IQueryable but the rest of the DbContext object >>>WILL STILL GET LOGGED<<<
I'm confused: does that mean the problem is still there? Is there nothing I can do to avoid it?
What is the latest recommended config to completely avoid the "logging entire db" problem?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm a little confused by some wording differences in issue #100, the docs and the nuget page. I also read the linked efcore issue and it made my head spin. I've encountered this problem before, so I don't want to make a mistake.
If we use EF Core - v8 or above - what should we do?
Serilog.Exceptions
, orSerilog.Exceptions.EntityFrameworkCore
AND use this config:README also states:
I'm confused: does that mean the problem is still there? Is there nothing I can do to avoid it?
What is the latest recommended config to completely avoid the "logging entire db" problem?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions