This project has moved and is read-only. For the latest updates, please go here.

MSMQ Logging - Logger Tree

Oct 1, 2010 at 9:24 AM

Hi,

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'.

Enjoy,

Rob Smyth

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