Tracing CAB with logging app. block from Ent Lib.

Topics: CAB & Smart Client Software Factory
Feb 8, 2006 at 6:45 AM
originally posted by: pmelichar1809

Can you help me how can i trace tracesources available in the CAB with Enterprise Library Logging Application Block. How can I configure logging application block to receive tracing from CAB (for example from Microsoft.Practices.CompositeUI.EventBroker etc.) Please help.

Petr Melichar
Sep 15, 2006 at 1:37 PM
originally posted by: jercol

I would also like to know if this can be done.

I'd like to allow tracing for CAB assemblies, but not have to hook it up two different ways in the config file.

As far as I can tell, to get CAB tracing I have to use the <sytem.diagnostics> section with <sources> and/or <switch>

I would like to use the <loggingConfiguration> section exclusively.

Is there any way to have the Enterprise Library Logging Application Block capture trace statements from Trace or TraceSource methods.