Wednesday, April 20, 2011

Logging in FIM Workflow Activities

The .NET Framework provides an awesome facility for logging.  Employing this logging facility in FIM Workflow Activities enables us to change the logging behaviour of our workflow DLLs by changing the FIM service config file (or some other way – it is really up to you at design time). 

By default this logging facility is configured in a .config file for the hosting process (in this case FIM) but it is possible to enable the logging configuration to be configured in the workflow itself.

Anyhow, I’ve employed this logging facility in the PowerShell WF Activity for FIM and I think it is a good example of how to do logging in a FIM workflow activity.  If you’re keen on logging, then please take a look and give me some feedback!

No comments: