Tracer duplicate inside tracers

Topics: Logging Application Block
Mar 29, 2011 at 3:52 PM

I have Tracers at my Database Layer.

When I put Tracer at my Domain Layer that calls Database Layer, all My Database Tracer are duplicated.

If I put Tracer at UI too, then Domain Layer is duplicated and Database Layer is triplicated.

How can I change this behavior?

Mar 30, 2011 at 8:24 AM

I'm not aware of any way to change that behavior but what I can suggest right now as a workaround is for you to use different category in the ui, domain, and database layer, each referencing a different trace listener so that trace logs don't get duplicated on the same file.

 

Sarah Urmeneta
Global Technologies and Solutions
Avanade, Inc.
entlib.support@avanade.com