RE: Log4Net and Powershell

2008-03-13 Thread dm3281
Hi, I'd like to see your code. I am not yet convinced using Log4net within Powershell is a viable option...?? -Original Message- From: Daniel Marohn [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2008 4:13 AM To: Log4NET User Subject: Re: Log4Net and Powershell HI Yes, I mamanged

Re: Is there a log reloaded event?

2008-03-13 Thread Ron Grabowski
http://logging.apache.org/log4net/release/sdk/log4net.Repository.ILoggerRepository.ConfigurationChanged.html - Original Message From: Rob Prouse <[EMAIL PROTECTED]> To: "log4net-user@logging.apache.org" Sent: Thursday, March 13, 2008 4:09:11 PM Subject: Is there a log reloaded event? We

Is there a log reloaded event?

2008-03-13 Thread Rob Prouse
We have converted some of our legacy unmanaged code to use log4net through wrapper classes. For efficiency, we cache the various IsEnabled properties that our unmanaged code uses. Because it is cached, we need to know when XmlConfigurator reloads a changed configuration file so that we can clea

Re: Log4Net and Powershell

2008-03-13 Thread Daniel Marohn
HI Yes, I mamanged to kick it into live. I guess you have the following problem: The App-Domain is definied by the Powershell. This is, why the workingdir of your powershell-snapin is not the path where your dll is located, but the path of PowerShell's exe. There is more than one way to specify