Re: [Nlog-commits] suggestions to nlog startup

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Re: [Nlog-commits] suggestions to nlog startup

Jarek Kowalski
Thanks Yuri,

I'll try to commit your changes soon and make a new release.
I'm forwarding your mail to the correct mailing list ;-)

----- Original Message -----
From: "Yuri Mamrukov" <[hidden email]>
To: <[hidden email]>
Sent: Saturday, December 17, 2005 7:02 PM
Subject: [Nlog-commits] suggestions to nlog startup

> Hi,
> While converting from log4net I come across few problems:
> - static InternalLogger constructor throws handled exceptions which slows
> down debugging if I have 'Break into the Debugger' option set (Debug |
> Exceptions... menu)
> - In order to set nlog.internalLogFile value I must set
> nlog.internallogToConsole due to code like this:
>    switch
> (ConfigurationSettings.AppSettings["nlog.internalLogToConsole"].ToLower())
>    {
>        ....
>    }
> - Platform specific extension libraries (e.g. NLog.DotNet, NLog.Wun32) are
> loaded always even I don't use them and if I will not provide them the
> handled exceptions are generated. In any case it slows down start up and
> debugging.
> In the attached files static constructors changed:
> InternalLogger    - allows specify any set of nlog.internalXXX options,
> inroduces new nlog.internalLoadExtensuos (NLOG_INTERNAL_LOAD_EXTENTIONS)
> oprion with default value true.
> ExtensionUtils    - allows to skip loading of platform specific extensions
> if InternalLogger.LoadExtensions property value is false.
> - Yuri

This email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
Nlog-list mailing list
[hidden email]
NLog Blog