Logging - sorengranfeldt/sqlma GitHub Wiki

The MA utilizes extensive tracing throughout the code. You can access this information in various ways. When configuring, creating, or testing scripts, you can utilize a tool like DebugView to capture tracing information from this MA.

Ensure that 'Capture Global Win32' is enabled in the Capture menu, and for a more readable trace log in DebugView, deselect "Force Carriage Returns" under Options.

Other errors and warnings that are not captured by the MA's logging mechanics can be found in the Application Event Log on your Synchronization Server.

Additionally, you can add the listener below to the miiserver.exe.config.xml file in the Bin subdirectory of the Synchronization Service installation directory (typically located at C:\Program Files\Microsoft Forefront Identity Manager\2010\Synchronization Service\Bin).

<source name="SQL.MA" switchValue="Verbose">
  <listeners>
    <remove name='Default' />
    <add name="SQL.MA" type="System.Diagnostics.TextWriterTraceListener"  initializeData="c:\temp\SQL.MA.log" />
  </listeners>
</source>
⚠️ **GitHub.com Fallback** ⚠️