Issue while routing log messages to MSMQ

Topics: Logging Application Block
Mar 20, 2014 at 7:59 AM
We are facing issue in routing the log messages to MSMQ in test servers. We are able to route the log messages to a flat file without any issue.
We have checked the event viewer and we do not see any related event.

We are able to route the log messages into MSMQ in Development servers. When we checked for the difference we noticed that Development servers have .Net 4.5 and test servers have .Net 4.0.
Our project's target framework is selected for .Net 4.0.

We are using Enterprise Library 5.0.

Any help is greatly appreciated.
Mar 20, 2014 at 2:16 PM
Have you enabled the errors special source in the logging configuration? Try using a flat file listener to a location where the permissions are known to be correct instead of the EventLog or Database (just general advice since you didn't explicitly mention it). Any errors should be written to the trace listener configured in the errors special source.

Randy Levy
Enterprise Library support engineer
Support How-to