logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicko Cadell" <ni...@neoworks.com>
Subject RE: WMI Events
Date Mon, 18 Jul 2005 20:09:14 GMT
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.


> -----Original Message-----
> From: madhu k [mailto:kmadhu_babu@india.com] 
> Sent: 07 July 2005 17:41
> To: nicko@apache.org
> 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!

View raw message