We are building an ASP.NET application in C#
We have 3 layers: UI, Business and Database. We need clarification on error handling/logging. We have a error logging framework to log errors.
My question is: do we need to log errors in each layer or only in the main calling layer (UI layer) by throwing the errors to UI layer from business and database layers? Is there a best practice?
If would be great if you could also provide a reference document or web references (If needed).
Thanks and Regards … Sruthi Keerthi.