Hi there,
I'm using log4net version 1.1.1 in a .dll assembly using VB.NET. I'm simply
trying to get a ConsoleAppender to work with my configuration file. For some
reason, if I have the log4net configuration information in its own .config
file, log4net seems to read it properly. If, however, I have
IF you look at the stack trace, it is the cxt.Close() method that is
throwing the exception.
( Your green debug arrow always lands on the line after the last one that
threw the exception ).
Regards,
Andrew Elmhorst
-Original Message-
From: Dru Sellers [mailto:[EMAIL PROTECTED]
Sent: Su
Yep, something like that would be handy.
Graham
Dru Sellers wrote:
I was actually hoping for something like
LogManager.IsShutdown;
Dru
I commented out the Spring stuff and log4net.LogManager.Shutdown(); seems to
function.
I keep you guys informed.
Dru
-Original Message-
From: Dru Sellers [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 19, 2004 10:21 PM
To: 'Log4NET User'
Subject: RE: Why does log4net.LogManager.Shutd
StackTrace
at Spring.Context.Support.AbstractApplicationContext.Close()
at Cystem.Management.Context.Dispose(Boolean disposing)
at System.Windows.Forms.ApplicationContext.Finalize()
Here is the method I used to close my ApplicationContext
protected override void Dispose(bool disposing) { /
This all sounds cool to me. Thanks for explaining. As a novice I just like
.Dispose because I know what it does.
Dru
-Original Message-
From: Nicko Cadell [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 19, 2004 1:20 PM
To: Log4NET User
Subject: RE: LogManager.Shutdown
Dru,
The LogMa
I was actually hoping for something like
LogManager.IsShutdown;
Dru
-Original Message-
From: Graham Innocent [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 19, 2004 5:08 AM
To: Log4NET User
Subject: Re: Why does log4net.LogManager.Shutdown() throw an exception?
Search your codebase