Releases: apache/logging-log4net
3.0.0-preview.2
Apache log4net 3.0.0-preview.2 is the second preview of log4net 3.0.0 and addresses the following issues:
Breaking Changes
Deleted obsolete API
log4net.Appender.RemotingAppender
(see #154 - Remove RemotingAppender)log4net.Appender.NetSendAppender
(see #158 - NetSendAppender removed)
Other changes (#157)
log4net.Repository.Hierarchy.Hierarchy.EmittedNoAppenderWarning
is now internal (see #157)
Bugs
-
Regression: Creating nested loggers in reverse order fails in 3.0.0-preview.1 (#156 by @FreeAndNil)
3.0.0-preview.1
Apache log4net 3.0.0-preview.1 is the first preview of log4net 3.0.0 and addresses the following issues:
Breaking Changes
Framework Support
Attention: Starting with 3.0.0 we only support the following target frameworks
- net462
- netstandard2.0
The reasoning for this change can be found in #111 - Dropping support for older runtimes
Deleted obsolete API (#125 - Remove deprecated code for 3.0)
- obsolete since 1.2.14 - 2015
log4net.Appender.BufferingAppenderSkeleton.OnlyFixPartialEventData
log4net.Appender.ColoredConsoleAppender.ctor(ILayout)
log4net.Appender.ColoredConsoleAppender.ctor(ILayout, bool)
log4net.Appender.ConsoleAppender.ctor(ILayout)
log4net.Appender.ConsoleAppender.ctor(ILayout, bool)
log4net.Appender.DebugAppender.ctor(ILayout)
log4net.Appender.EventLogAppender.ctor(ILayout)
log4net.Appender.FileAppender.ctor(ILayout, string)
log4net.Appender.FileAppender.ctor(ILayout, string, bool)
log4net.Appender.MemoryAppender.OnlyFixPartialEventData
log4net.Appender.SmtpAppender.LocationInfo
log4net.Appender.TextWriterAppender.ctor(ILayout, Stream)
log4net.Appender.TextWriterAppender.ctor(ILayout, TextWriter)
log4net.Appender.TraceAppender.ctor(ILayout)
log4net.Config.DOMConfigurator
log4net.Config.AliasDomainAttribute
log4net.Config.DomainAttribute
log4net.Config.DOMConfiguratorAttribute
log4net.Core.LoggerManager.GetLoggerRepository
log4net.Core.LoggerManager.CreateDomain
log4net.Core.LoggingEventData.TimeStamp
log4net.Core.LoggingEvent.GetExceptionStrRep
log4net.Core.LoggingEvent.FixVolatileData
log4net.LogManager.GetLoggerRepository
log4net.LogManager.CreateDomain
- obsolete since 2.0.6 - 2016
log4net.Util.SystemInfo.ProcessStartTime
Other changes (#124 - Add support for nullable annotations)
log4net.Config.AliasRepositoryAttribute
is now sealedlog4net.Config.RepositoryAttribute
is now sealedlog4net.Config.XmlConfiguratorAttribute
is now sealed- interface
log4net.Appender.AppenderCollection.IAppenderCollectionEnumerator
is now obsolete and must be replaced byIEnumerator<IAppender>
log4net.Appender.MemoryAppender.m_eventsList
(protected field) was changed fromArrayList
toList<LoggingEvent>
- for getting
m_eventsList.SyncRoot
you need to cast it:((ICollection)m_eventsList).SyncRoot
- for getting
Enhancements
- #111 - Dropping support for older runtimes (by @fluffynuts and @FreeAndNil)
- #124 - Add support for nullable annotations (by @erikmav)
- #125 - Remove deprecated code for 3.0 (by @erikmav)
- #127 - Enable building log4net with docker container (by @FreeAndNil)
A big thanks to @erikmav for the hard work regarding nullable annotations and moving to generic collections.
2.0.17
Apache log4net 2.0.17 addresses reported issues:
Bug fixes
2.0.16
A big thanks to @FreeAndNil for doing all the hard work of collating changes.
Bug fixes
- Support converting '.NET TP Worker' to the numeric thread ID on .NET 8+ (by @erikmav)
- Fix typo in RemotingServer App.Config (by @craigdfrench)
- Fix CodeQL Password in configuration file Rule False Positives (by @justinmichaels)
Enhancements
- adding extension points for revising logged content (by @FreeAndNil)
- SystemInfo.EntryAssemblyLocation writable to adjust location for config-files in unit test projects (by @FreeAndNil)
- New locking model for single log file in native applications with managed parts (by @FreeAndNil)
- Extension point for handling new lines in RemoteSysLogAppender added (by @FreeAndNil)
- Defer creation of locking model to ActivateOptions() (by @FreeAndNil)
- Add Peek() method to ThreadContextStack and LogicalThreadContextStack (by @andreycha)
2.0.15
Attention: .NET 3.5 Client Profile is no longer supported. I'm really sorry, I've tried to keep as many of the legacy targets available as possible, but after spending another 4 or so hours trying to get net35-client to build on any machine, I've given up - as far as I'm aware, this should only affect Windows XP clients. I'm afraid 2.0.14 was the end of the road for you. Apache log4net 2.0.15 addresses reported issues:
Bug fixes
- Improper usage of xml namespacing for netfx targets after a netstandard update ( LOG4NET-685, related LOG4NET-683)
- Locking hashtables during write in RenderMap calls to make them thread-safe ( LOG4NET-646)
- An issue where RollingFilAppender would sometimes overwrite files instead of rolling them ( LOG4NET-672)
Enhancements
2.0.14
- Pull request by @NicholasNoise to address issues with logging via ado appender to PostgreSQL
- Community request to correctly handle null data in ReadOnlyPropertiesDictionary
- Pull request by @erikmav to use the numeric thread id for .net worker pool threads (LOG4NET-680)
- Pull request by @erikmav to dispose of WindowsIdentity retrieved in TryGetCurrentUserName() (LOG4NET-671)
2.0.13
Some minor updates:
- address deadlock with rolling file appender (https://issues.apache.org/jira/browse/LOG4NET-583)
- performance improvement for platforms not supporting WindowsIdentity (https://issues.apache.org/jira/browse/LOG4NET-652)
- allow using the netstandard2.0 libraries from within asp.net on net472 (#76)
- update to the log4j-alike output (#18)
This is essentially the same release as rc-1, with the artifacts updated so that unzipping them won't scatter files in the target.
2.0.13 (RC1)
Some minor updates:
- address deadlock with rolling file appender (https://issues.apache.org/jira/browse/LOG4NET-583)
- performance improvement for platforms not supporting WindowsIdentity (https://issues.apache.org/jira/browse/LOG4NET-652)
- allow using the netstandard2.0 libraries from within asp.net on net472 (#76)
- update to the log4j-alike output (#18)
Fixes LOG4NET-(652|653)
Should resolve issues with PlatformNotSupported
exceptions raised on !win32 when attempting to include the current user name in logs.
Correct assembly versions
- corrects assembly versioning still reported as 2.0.9 in the 2.0.10 release
- ensures that stream writers used during log flushing are properly disposed
- corrects version strings for client profile assemblies