Writing your own WMI appender should not be too tricky. The .NET framework has some nice features to allow you to define a .NET type that defines a WMI event schema, instances of this type can then be fired via WMI. You will need to define one of these objects that can be Fired via WMI. Then implement your own appender (have a look at the DebugAppender.cs in the log4net source for a good starting point) which takes a LoggingEvent and uses it to populate your WMI object, then just fire the WMI object.
Cheers, Nicko > -----Original Message----- > From: madhu k [mailto:[EMAIL PROTECTED] > Sent: 07 July 2005 17:41 > To: [EMAIL PROTECTED] > Subject: WMI Events > > Hi Nicko, > > In my application am using log4net for logging. > > I want to log a message as WMI event... > i searched alot for this but i did't get any help > > if any solutions are exist please give the links... > > are any proper approach to do it... > > > > thanking u > > > madhubabu k > > > -- > India.com free e-mail - www.india.com. > Check out our value-added Premium features, such as an extra > 20MB for mail storage, POP3, e-mail forwarding, and ads-free > mailboxes! >
