This document will provide the steps necessary to work enable FIM Service Management Agent Tracing.
FIM Service Management Agent Tracing is an advanced way of troubleshooting issues concerning the FIM Service Management Agent.
FIM Service Management Agent Tracing is enabled/disabled via the Synchronization Service Engine Configuration File
(%programfiles%\Microsoft Forefront Identity Manager\2010\Synchronization Service\miiserver.exe.config ).
<
system.diagnostics
>
sources
source
name
=
"System.ServiceModel"
switchValue
"Verbose,ActivityTracing"
propagateActivity
"true"
listeners
add
type
"System.Diagnostics.DefaultTraceListener"
"Default"
filter
""
/>
</
"ServiceModelTraceListener"
"System.ServiceModel.MessageLogging"
"Warning, ActivityTracing"
"ServiceModelMessageLoggingListener"
"Microsoft.ResourceManagement"
"text"
sharedListeners
initializeData
"C:\logs\miiserver_tracelog.svclog"
"System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
traceOutputOptions
"LogicalOperationStack, DateTime, Timestamp, ProcessId, ThreadId, Callstack"
"C:\logs\miiserver_messages.svclog"
"System.Diagnostics.TextWriterTraceListener"
"C:\logs\TextWriterOutput.log"
"DateTime, ThreadId"
trace
autoflush
If you made the backup copy of the Synchronization Service Configuration File, then you can rename the tracing file to miiserver.exe.config._TracingEnabled. Once you do that, then rename the backup copy back to miiserver.exe.config. If you do this, then you should be able to easily toggle back forth to enable/disable tracing.
Anytime you change the Synchronization Service Configuration File, then you will need to restart the FIM Synchronization Service.