[ANNOUNCE] Apache log4net 3.4.0 released

Jan Friedrich <[email protected]>
Newsgroups gmane.comp.jakarta.log4j.devel
Message-ID <12699664-fe20-458a-80ac-9eb3f583fd90__12352.5295568228$1787346890$gmane$org@apache.org>
Hi,

the Apache log4net team is pleased to announce the 3.4.0 release.

For further information (support, download, etc.) see

- https://logging.apache.org/log4net/release-notes.html
- https://github.com/apache/logging-log4net/releases/tag/rel%2F3.4.0
- https://www.nuget.org/packages/log4net/3.4.0
- https://www.nuget.org/packages/log4net.Ext.Mail/3.4.0

Highlights of this release:

* New MailKit based SmtpAppender in the new log4net.Ext.Mail assembly. 
log4net.Appender.SmtpAppender is now obsolete, because Microsoft no 
longer recommends System.Net.Mail.SmtpClient for new development.

* log4net is usable from a PublishAot build. LogManager.GetLogger() no 
longer throws PlatformNotSupportedException, and repositories and 
pattern converters survive trimming. Configuration has to be done in 
code, see the new "Native AOT and trimming" page in the manual.

* LoggingEvent.UserName is a lot cheaper and now correct under 
impersonation.

* An extensive round of hardening across the appenders, following an 
external audit. Some of it changes defaults, each with a named opt-out, 
so please read the release notes before upgrading if you rely on the 
current behaviour.

The published log4net assembly still targets net462 and netstandard2.0, 
so there is no change in supported platforms. Building and testing now 
uses .NET 10, and Mono is no longer required to build the net4x targets 
on Linux and macOS.

The Apache log4net team
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.