This project has moved. For the latest updates, please go here.

MSMQ Logging - Logger Tree

Oct 1, 2010 at 8:24 AM


When using a MSMQ receiver I found that the logger pane showed a flat list of my loggers (not a tree). I found that the problem was the leading '.' in the queue name. The following is a fix in the 'MsmqReceiver.cs' file:

                        logMsg.LoggerName = string.Format("{0}_{1}", QueueName.TrimStart('.'), logMsg.LoggerName);

The change is the 'TrimStart'.


Rob Smyth

Oct 2, 2010 at 12:23 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.