In my application, there is 4 layer
UI
Service
Business
Data Access
Now I am using Log4Net open source for logging the exception. Actually what happened,
when exception occurs on Data access layer is logged then throw the inner exception to business layer. On business layer, it has own inner exception and inner exception of Data access layer. So there is duplication of logging here 2 times logging of exception , first time on data access layer then on business layer. What should i do to stop the double logging of exception
Plz help me out. its urgent
Note: If question is not clear then post your comment