© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
3 replies
nahr

Logging EF-core exceptions

Hi,
I'm doing some refactor for logging db exceptions.
What's good practice when logging db exceptions?

Atm I think it's good enough to just log the exception because then I get the full stack trace and all info even tho some info might be bloated?

My PL asked me If I could log more specific info about the exception but I don't really see the point.
Any suggestion or thoughts how you guys would do it?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

EF Core
C#CC# / help
2y ago
Ef core help
C#CC# / help
10mo ago
✅ EF Core Relationship
C#CC# / help
2y ago
EF Core HasPrecision()
C#CC# / help
2y ago