Skip to content

Releases: ptv-logistics/Log4ALA

Log4ALA 2.2.4

04 Jul 07:00
Compare
Choose a tag to compare

Fix issue with appsettings loading in combination with environment variables.

Log4ALA 2.2.3

03 Jul 13:10
Compare
Choose a tag to compare

Log4ALA 2.2.1

03 Jul 07:57
Compare
Choose a tag to compare

Fix issue with ASP.Net Core 2.0 while using Microsoft.Extensions.Logging.Log4Net.AspNetCore which will ignore and fail loading the internalLog4net.config and therefore leads to stop logging internal error/info logfiles. The reason is that internalLog4net.config will be installed as project content file during the nuget package installation. To solve this problem we now include internalLog4net.config as EmbeddedResource as by dependent .NET Framework >= 4.5 installations. Now for .NET Standard 2.0 package installations it's also possible to override all Log4ALA configuration settings normally done in appsetings.json programmatically during runtime by setting the depending environment variable with dotnetcore appsettings notation e.g.:

// path = D:\home\LogFiles\Log4Net if your ASP.NET Core App will be deployid as Azure App Service
var path = Path.Combine(System.Environment.GetEnvironmentVariable("HOME"), "LogFiles", "Log4Net");
System.Environment.SetEnvironmentVariable("Log4ALAAppenderAll:errAppenderFile", Path.Combine(path, "log4ALA_error.log"));
System.Environment.SetEnvironmentVariable("Log4ALAAppenderAll:infoAppenderFile", Path.Combine(path, "log4ALA_info.log"));

or by using appsettings.{env.EnvironmentName}.json (env.EnvironmentName => ASPNETCORE_ENVIRONMENT environment variable) for ASP.NET Core Apps. The order how the settings will be overwritten or extended is:
appsettings.json => appsettings.{env.EnvironmentName}.json => System.Environment.SetEnvironmentVariable(...)

Log4ALA 2.1.2

13 Jun 17:40
Compare
Choose a tag to compare

Fix issue "Queue is not flushed in OnClose" and improve the efficiency of the log data buffering

Log4ALA 2.1.1

28 May 14:41
Compare
Choose a tag to compare

Removed log4net.config from package content files

Log4ALA 2.1.0

26 May 23:09
Compare
Choose a tag to compare

Added netstandard 2.0 support

Log4ALA 2.0.5

21 Dec 14:06
Compare
Choose a tag to compare

Bugfix of "Initial connection failure takes down the application" and "Unloading AppDomain with ALA appender crashes application".

Log4ALA 2.0.4

28 Jul 10:37
Compare
Choose a tag to compare

CPU resource usage improvements

Log4ALA 2.0.3

27 Jul 15:37
Compare
Choose a tag to compare

Fix of unusable version 2.0.2.

Log4ALA 2.0.2

27 Jul 11:05
Compare
Choose a tag to compare

Add configurable priority (threadPriority) of the background worker thread and fixed issue to avoid high CPU usage.