CRM Email Router: enabling logging


Today, I had to debug the CRM Email Router. After some googling I found a easy and simple way of logging the email router as it processes the emails.

  • In the Service folder of Email router installation (C:\Program Files\Microsoft CRM Email\Service), locate the file Microsoft.Crm.Tools.EmailAgent.xml.
  •  There is a key for Log Level – <LogLevel></LogLevel>. Default value is set to 1. Please set it to 3.
  • If it doesn’t exist, add a key for <LogFile>. <LogFile>C:\Temp\EmailRouterLog.txt</LogFile>.
  • Restart the Email router service

Happy debugging…

CRM Email Router: enabling logging (part 2)

Advertisements

4 thoughts on “CRM Email Router: enabling logging

  1. Pingback: 2012 – most popular blog posts | Sveroa's Developer Blog

  2. Pingback: CRM Email Router: enabling logging (part 2) | Sveroa's Developer Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s