EL 6: How to override logging block for MSMQ Distributor

Topics: Logging Application Block
Jun 3, 2013 at 7:09 PM

I am trying to use the MSMQ trace listener to log exceptions to the MSMQ which will internally log in DB/file. The problem is that the Enterprise Library wrapper component that all applications will call is intalled on the same server as the MSMQ Distributor. They both need a different logging configuration. For exception handling, I need a logging section with MSMQ Trace listener and for MSMQ Distributor I need a Flat File Trace listener.

How do I achieve this?
Jun 4, 2013 at 2:52 AM
MSMQ Distributor Service uses it's own configuration file: MsmqDistributor.exe.config.

You should be able to configure this independently of any other applications.

Randy Levy
Enterprise Library support engineer
Support How-to