When switching a mailbox via switch collection or manually, it is not switching and the Mail Synchronization Agent (MSA) log or EMWMigration.log are not giving enough information. Is there a way to get more detailed information in the MSA log when a mailbox is switched?
1. EMWMSA.log - MSA log file - can be set to extended level via GUI but this is still not going to extend the portion that describes switching because it's done by separate module called MBRedir.
2. EMWMigration.log that covers manual mailbox switch cannot be set to extended level of logging by itself. However, it is still possible to extend the portion of log which comes from MBRedir module.
For both these scenarios please see the description below.
IMPORTANT: For the MSA scenario, modifications need to be performed on MSA server or the source server, for the manual switch with EMWMigration.log, modifications need to be performed on the QMM console.
Extended logging for the mailbox switch is available. The switch is done by the Mailbox Redirector (MBRedir) module. The InfoLevel value for the Redirector can be set to provide different logging options. On the server (source Exchange server where MSA runs; or on the QMM console for EMWMigration.log) browse to the registry value:
***Quest does not provide support for problems that arise from improper modification of the registry. The Windows registry contains information critical to your computer and applications. Make sure you back up the registry before modifying it. For more information on the Windows Registry Editor and how to back up and restore it, refer to Microsoft Article ID 256986 "Description of the Microsoft Windows registry": http://support.microsoft.com/default.aspx?kbid=256986.
1. HKEY_LOCAL_MACHINE\SOFTWARE\Aelita\Migration Tools\CurrentVersion\Components\MBRedirector and modify the InfoLevel key. By default this value is set to 0x10 and can be increased to 0x20 or 0x100.
Values that can be set into InfoLevel
-1 - minimum logging level
0x0 - low logging level
0x10 - default logging level
0x20 - extended logging level
0x100 - the logging level can be set to a higher level up to and including 0x100, but there does not appear to be any additional info placed into the log.
2. HKEY_LOCAL_MACHINE\SOFTWARE\Aelita\Migration Tools\CurrentVersion\Components\MBRedirector and create new String value FullApplyLogging = 1
Note: This logging is different from the Extended logging which can be selected for the MSA in the properties of the Source server or the Mailbox Sync Job.
The minimum logging level reports the following info on a mailbox switch:
Posting EMWProf switch notification message to the mailbox '/o=Source_Organization/ou=Organizational_Unit/cn=Recipients/cn=mailbox'.
Posting user notification message to the mailbox '/o=Source_Organization/ou=Organizational_Unit/cn=Recipients/cn=mailbox'.
Posting user notification message to the mailbox '/o=Target_Organization/ou=Organizational_Unit/cn=Recipients/cn=mailbox''.
Informational 4901 Mailbox '/o=Source_Organization/ou=Organizational_Unit/cn=Recipients/cn=mailbox'' was switched successfully.