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

Custom logging inside a Extention-rule

$
0
0

Hi,

I'm trying to enable some custom logging inside my extention rules. After a ot of search I decided to ask you if it's possible or not.

For the time beeing I've tryed to approaches:

1. Add a reference to Logging.dll and then try to use the code:

using Microsoft.MetadirectoryServices.Logging;
Log("message", true, 2);

2. Import a log4net dll into my project, add the configuration to the app.config file.

None of then seams to work... The log4net.dll doesn't show me the log methods, and with the logging.dll I have the error

 'Microsoft.MetadirectoryServices.Logging.Logging.Log(string, bool, int)' is a 'method' but is used like a 'type'

Is it possible to do some custom log with FIM 2010?

Thanks in advance for your help,

Marc


Viewing all articles
Browse latest Browse all 6944

Trending Articles



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