Partager via


How to enable FIM Powershell MA logging in the eventlog

 

With the links (Technet and TechNet blog), they only demo how to log the Powershell verbose trace to a file.  What if we would like to enable them in the default windows eventlog for further monitor?

here’s the section you shall put in the %ProgramFiles%\Microsoft Forefront Identity Manager\2010\Synchronization Service\bin\miiserver.exe.config, and do not forget to restart the FIMSynchronziationService. After that, we shall be able to have these events with source “ConnectorsLog” under application.

<source name="ConnectorsLog" switchValue="Warning">      <listeners>             <add initializeData="ConnectorsLog"                  type="System.Diagnostics.EventLogTraceListener, System, Version=2.0.0.0, Culture=neutral,  PublicKeyToken=b77a5c561934e089"                   name="ConnectorsLog" traceOutputOptions="LogicalOperationStack, DateTime, Timestamp, Callstack">                   <filter type="" />             </add>      </listeners> </source>