Quantcast
Channel: Forum Microsoft Identity Manager
Viewing all articles
Browse latest Browse all 6944

FIM 2010R2 SP1 - How to enable tracing?

$
0
0

On a FIM 2010R2SP1 (4.1.3419.0), we have some issues, that I want more information about - so I want to turn on logging/tracing, as the event log provides very little info to go on.

I searched, and foudn this article: http://social.technet.microsoft.com/wiki/contents/articles/10227.how-to-enable-fim-service-management-agent-tracing.aspx

Basically, find miisconfig.exe.config and input/modify this system.diagnostics section:

 
<system.diagnostics><sources><source name="System.ServiceModel" switchValue="Verbose,ActivityTracing"
             propagateActivity="true"><listeners><add type="System.Diagnostics.DefaultTraceListener" name="Default"><filter type="" /></add><add name="ServiceModelTraceListener"><filter type="" /></add></listeners></source><source name="System.ServiceModel.MessageLogging" switchValue="Warning, ActivityTracing"><listeners><add type="System.Diagnostics.DefaultTraceListener" name="Default"><filter type="" /></add><add name="ServiceModelMessageLoggingListener"><filter type="" /></add></listeners></source><source name="Microsoft.ResourceManagement" switchValue="Verbose,ActivityTracing"><listeners><add type="System.Diagnostics.DefaultTraceListener" name="Default"><filter type="" /></add><add name="ServiceModelMessageLoggingListener"><filter type="" /></add><add name="ServiceModelTraceListener"><filter type="" /></add><add name="text" /></listeners></source></sources><sharedListeners><add initializeData="C:\logs\miiserver_tracelog.svclog"
             type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
             name="ServiceModelTraceListener" traceOutputOptions="LogicalOperationStack, DateTime, Timestamp, ProcessId, ThreadId, Callstack"><filter type="" /></add><add initializeData="C:\logs\miiserver_messages.svclog"
             type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
             name="ServiceModelMessageLoggingListener" traceOutputOptions="LogicalOperationStack, DateTime, Timestamp, ProcessId, ThreadId, Callstack"><filter type="" /></add><add name="text"
              type="System.Diagnostics.TextWriterTraceListener"
              initializeData="C:\logs\TextWriterOutput.log" traceOutputOptions="DateTime, ThreadId" /></sharedListeners><trace autoflush="true" /></system.diagnostics>  

But even though I start FIM back up (restart the service), nothing is written to C:\Logs, even though I run Syncs, Imports etc...

Note:

  • Everyone as full control in C:\Logs
  • C:\Logs exists
  • There is no errors in Event logs when starting 
  • If I deliberately screw something up in miisserver.exe.config, the FIM Sync service will not start (indicating it does actually read it)
  • No errors in event log about FIM not being able to trace-write or similar

What am I missing? Is there something more I need to do to enable tracing?


---Klaus---



Viewing all articles
Browse latest Browse all 6944

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>