Hi Ron,

The logging doesn't differ from the usual Log4Net style:

if (log.IsInfoEnabled) log.Info("Foo");

the application .config states:
    <appender name="WmiAppender"
              type="log4net.Appender.WmiAppender,log4net.Appender.WmiAppender" >
    </appender>

The DefaultProjectInstaller class is used and the schema registered in WMI.

I have an application that listens to these events, but these will only come in 
when the log4net-app. Is run with administrative priviledges.

Thanks,
andreas

-----Ursprüngliche Nachricht-----
Von: Ron Grabowski [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 20. Februar 2008 02:17
An: Log4NET Dev
Betreff: Re: WMI-Appender question

How do you fire using normal WMI code when the application is run in non-admin 
mode?

----- Original Message ----
From: Andreas Brauchli <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, February 19, 2008 3:21:51 AM
Subject: WMI-Appender question

I am experimenting with the WMI Appender and I found it to be just what
I want. The only issue that needs to be resolved, is how to fire events
when the application doesn't run as admin. Any solutions?

thanks,
andreas

Reply via email to