Thanks
I am building a Windows Application using Microsoft
Visual Basic 2005 Beta 2.
In my app.config file I have put
With log4net internal debugging turned on, an attempt to create an EventLogAppender for a web application is failing:
[3616] log4net: XmlHierarchyConfigurator: Setting Property [Layout] to object [log4net.Layout.PatternLayout]
[3616] log4net: XmlHierarchyConfigurator: Setting Property [LogName] t
Add this to your Web.Config:
--- "Michael S. Collier" <[EMAIL PROTECTED]> wrote:
> Is there a good way to capture the internal Log4NET debugging for a
> web site
> or web service? I would like the ability to capture the debugging so
> that I
> might better figure o
Is there a good way to capture the internal Log4NET
debugging for a web site or web service? I would like the ability to capture
the debugging so that I might better figure out why logging is not working.
For my app, logging is working great now, but I would like
to capture the inter
Using the default domain is now the default behaviour. To get the
behaviour you want you should not specify a DomainAttribute at all.
Cheers,
Nicko
> -Original Message-
> From: Mladen Mihajlovic [mailto:[EMAIL PROTECTED]
> Sent: 10 October 2005 19:11
> To: log4net-user@logging.apache.org
Hi,
What would be considered the equal of the following line in 1.2.9?
[assembly: log4net.Config.Domain(UseDefaultDomain=true)]
Thanks,
Mladen
Call LogManger.Shutdown() that will flush all the appenders and close all the
files cleanly.
Nicko
> -Original Message-
> From: Thibaut Barrère [mailto:[EMAIL PROTECTED]
> Sent: 10 October 2005 15:19
> To: Log4NET User
> Subject: Forcing flush before killing a process
>
> Hi,
>
> is
Hi,
is there some way to flush all the logs before killing the process ?
I'm using Environment.Exit() for last chance application exit (when
everything else has been tried).
I'd like to record the fact that I had to kill the process. Is it doable ?
regards
Thibaut