Skip to content

Releases: apache/logging-log4net

3.0.3

04 Nov 18:16
rel/3.0.3
78bb356
Compare
Choose a tag to compare

What's Changed

  • Bumped NUnit to 4.2.2 by @FreeAndNil in #200
  • Enable Microsoft.CodeAnalysis.NetAnalyzers by @FreeAndNil in #201
  • File scoped namespaces and CA warnings fixed in examples by @FreeAndNil in #202
  • Fix empty string received by .NET 8 users on Linux on userName by @gdziadkiewicz in #199
  • Use raw strings for config files in unit tests by @FreeAndNil in #203
  • Made RollOverRenameFiles virtual to allow compression etc. in derived classes by @FreeAndNil in #206 (solves #205 reported by @FerdinandStapenhorst)
  • MDC was accidentally renamed into Mdc in #196 - this change was reverted
  • NDC was accidentally renamed into Ndc in #196 - this change was reverted

New Contributors

Full Changelog: rel/3.0.2...rel/3.0.3
Nuget: https://www.nuget.org/packages/log4net/3.0.3

3.0.3-preview.1

24 Oct 07:45
f87956b
Compare
Choose a tag to compare
3.0.3-preview.1 Pre-release
Pre-release

What's Changed

  • bumped NUnit to 4.2.2 by @FreeAndNil in #200
  • Enable Microsoft.CodeAnalysis.NetAnalyzers by @FreeAndNil in #201
  • MDC was accidentally renamed into Mdc in #196 - this change was reverted
  • NDC was accidentally renamed into Ndc in #196 - this change was reverted

Full Changelog: rel/3.0.2...rc/3.0.3-preview.1
Nuget: https://www.nuget.org/packages/log4net/3.0.3-preview.1

3.0.2

18 Oct 09:17
d0d9c9b
Compare
Choose a tag to compare

What's Changed

Known Issues

  • MDC was accidentally renamed into Mdc in #196 - this will be reverted in 3.0.3
  • NDC was accidentally renamed into Ndc in #196 - this will be reverted in 3.0.3

Full Changelog: rel/3.0.1...rel/3.0.2
Nuget: https://www.nuget.org/packages/log4net/3.0.2

3.0.2-preview.1

15 Oct 13:36
fb8b42f
Compare
Choose a tag to compare
3.0.2-preview.1 Pre-release
Pre-release

What's Changed

Full Changelog: rel/3.0.1...rc/3.0.2-preview.1
Nuget: https://www.nuget.org/packages/log4net/3.0.2-preview.1

3.0.1

24 Sep 19:42
8bf4313
Compare
Choose a tag to compare

What's Changed

Full Changelog: rel/3.0.0...rel/3.0.1
Nuget: https://www.nuget.org/packages/log4net/3.0.1

3.0.1-preview.2

19 Sep 07:29
Compare
Choose a tag to compare
3.0.1-preview.2 Pre-release
Pre-release

What's Changed

Full Changelog: rc/3.0.1-preview.1...rc/3.0.1-preview.2
Nuget: https://www.nuget.org/packages/log4net/3.0.1-preview.2

3.0.1-preview.1

17 Sep 09:11
4042bce
Compare
Choose a tag to compare
3.0.1-preview.1 Pre-release
Pre-release

What's Changed

Full Changelog: rel/3.0.0...rc/3.0.1-preview.1
Nuget: https://www.nuget.org/packages/log4net/3.0.1-preview.1

3.0.0

12 Sep 11:26
42ba791
Compare
Choose a tag to compare

Apache log4net 3.0.0 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

Deleted obsolete API (#125)

  • obsolete since 1.2.14 - 2015
    • log4net.Appender.BufferingAppenderSkeleton.OnlyFixPartialEventData and log4net.Appender.MemoryAppender.OnlyFixPartialEventData (you will need to change your config files from onlyFixPartialEventData value="true" to fix value="Partial")

    • 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.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

  • dropped log4net.Appender.RemotingAppender (see #154 - Remove RemotingAppender)
  • dropped log4net.Appender.NetSendAppender (see #158 - NetSendAppender removed)
  • dropped support for legacy serialization for .netstandard (see #174 and #175)
  • log4net.Config.AliasRepositoryAttribute is now sealed (#124)
  • log4net.Config.RepositoryAttribute is now sealed (#124)
  • log4net.Config.XmlConfiguratorAttribute is now sealed (#124)
  • interface log4net.Appender.AppenderCollection.IAppenderCollectionEnumerator is now obsolete and must be replaced by IEnumerator<IAppender> (#124)
  • log4net.Appender.MemoryAppender.m_eventsList (protected field) was changed from ArrayList to List<LoggingEvent> (#124)
    • for getting m_eventsList.SyncRoot you need to cast it: ((ICollection)m_eventsList).SyncRoot
  • 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)
  • System.NullReferenceException when comparing with a null Level (#169 by @FreeAndNil)
  • ColoredConsoleAppender writes UTF-8 preamble to the console on initialization (#168 reported by @RoboBurned, fixed by @FreeAndNil)
  • Culture-Specific String Comparisons Cause RollingFileAppender Failure in log4net on NET 5+ (#177 reported by @stianeklund)

Enhancements

New Contributors

A big thanks to @erikmav for the hard work regarding nullable annotations and moving to generic collections.

Full Changelog: rel/2.0.17...rel/3.0.0
Nuget: https://www.nuget.org/packages/log4net/3.0.0

3.0.0-preview.4

09 Sep 09:17
bb60359
Compare
Choose a tag to compare
3.0.0-preview.4 Pre-release
Pre-release

Apache log4net 3.0.0-preview.4 is probably the last preview of log4net 3.0.0 and addresses the following issues:

What's Changed

  • dropped support for legacy serialization for .netstandard (see #174 and #175)

Full Changelog: rc/3.0.0-preview.3...rc/3.0.0-preview.4
Nuget: https://www.nuget.org/packages/log4net/3.0.0-preview.4

3.0.0-preview.3

05 Sep 09:42
b94b45a
Compare
Choose a tag to compare
3.0.0-preview.3 Pre-release
Pre-release

Apache log4net 3.0.0-preview.3 is the third preview of log4net 3.0.0 and addresses the following issues:

What's Changed

New Contributors

Full Changelog: rc/3.0.0-preview.2...rc/3.0.0-preview.3
Nuget: https://www.nuget.org/packages/log4net/3.0.0-preview.3