Compartilhar via


Getting EIF to work on Win98 / NT4

I recently added a much needed instrumentation layer to a client's winforms app.  After checking out various logging frameworks, we decided to go with the MS “Enterprise Instrumentation Framework” (EIF) for several reasons- it is extremely easy to integrate, has support for high-end sinks such as Windows TraceLogs and WMI, and has a fairly flexible event source to event sink mapping mechanism. For anyone current using the MS Exception Management Application Block in an enterprise environment, I heartily recommend upgrading to EIF. 

However, EIF has one drawback in the context of my current project - it does not support Win98 or NT4.  Since the previous version of the app already has an massive install base (6 digits and counting...) dropping 98 support is not an option.  So, I wrote an pluggable factory/abstraction layer which allows run-time switching between logging frameworks- EIF if Win2K or above, a simpler framework if 98/NT4. Coolness. And not only does it work like a charm, the actual app intrumentation calls are simplified by the wrapper classes.

So:

1. Is there any interest in an instrumentation abstraction layer for EIF?

2. Has anyone gotten EIF up and running under Win98?  The official requirements are Windows 2000 SP3 or above, so 98 would not be an officially supported scenario. But it still might be possible to get it to work, if someone would take the time to write a custom event sink. Has anyone tried this, or is anyone interested in participating in an open sourced project to do that?

3. I am toying with the idea of writing a tutorial article on implementing EIF.  Do you wanna see something like that? 

Leave me some feedback!

Comments

  • Anonymous
    September 05, 2003
    Definitely write the article. EIF is on my list, and anything that helps get me up to speed faster is always welcome!
  • Anonymous
    September 05, 2003
    I recently faced a very painful rollback from using the EIF. The two problems were that it doesn't work on .NET 1.0 and the install isn't always strait forward. I couldn't expect everyone who uses my application to get it installed.

    I would definately be interested in something that abstracts me away from these issues. Even better would be somethiong that doesn't break my application on Mono/Rotor.

    I'd be interested in your experiences, or better still an article. Keep us posted!
  • Anonymous
    September 05, 2003
    Perhaps it's possible to write a log4net appender for EIF. Then you could use a different appender in win98/NT..
  • Anonymous
    September 05, 2003
    Post that Abstraction layer code
    2. Write that article

  • Anonymous
    September 06, 2003
    ditto...