Separate event log for Email Router

By default Dynamics CRM Email Router writes its errors, warnings and other messages into default Application event log. When you have dozens of different profiles for different queues and users and lots of emails sent per minute, it becomes hard to keep Application event log clean. You can't find almost anything useful among these errors about problem with sending email. It becomes quite annoying. Of course the proper solution is to fix all that email profiles... But let's face it, we live in none perfect world :)
Solution is simple:

  • Go into registry for Email Router service and change LogLevel value to 2 (see below)
  • Restart service
  • Enjoy separate event log MSCRMEmailLog where you can find anything related to Email Router

Registry file for changes:

Windows Registry Editor Version 5.00


P.S. Actually without changing LogLevel in Microsoft.Crm.Tools.EmailAgent.xml, amount of messages remains the same.