Re: [VOTE] Release Apache Log4net 3.0.0

2024-09-15 Thread Jan Friedrich
Hi,

and here is my +1.

With that the vote passed with 3 +1 votes from Piotr P. Karwasz, Volkan Yazıcı 
and myself.
I will continue the release process.

Jan

Friday, September 13, 2024, 9:17:46 AM, you wrote:

> +1

> ✅ Signatures
> ✅ Checksums
> ✅ Build (using Docker)
> ✅ Tests (using Docker)

> Congratulations to the Log4net crew (in particular, to Jan and Davyd 🙇)
> for their 3rd major release! 🎉 Keep up the great work! 💯



> On Thu, Sep 12, 2024 at 8:54 PM Jan Friedrich  wrote:

>> This is a vote to release the Apache Log4net 3.0.0.
>>
>> Website:
>> https://logging.staged.apache.org/log4net/release/release-notes.html
>> GitHub: https://github.com/apache/logging-log4net
>> GitHub release (pre-release):
>> https://github.com/apache/logging-log4net/releases/tag/rc/3.0.0-rc1
>> Commit: 42ba791745ceb7ff922d828c6c5572ed918df84b
>> Distribution: https://dist.apache.org/repos/dist/dev/logging/log4net
>> Signing key: 0x7D24496A230E29D6349A99EF583E491578F02D5D
>>
>>
>> Please download, test, and cast your votes on this mailing list.
>>
>> How to run the unit tests?
>> - install docker (if you haven't already)
>>   - https://docs.docker.com/engine/install/
>> - in logging/log4net run
>>   - `docker build -t log4net-builder .`
>>   - `docker run -it log4net-builder`
>> - this will
>>   - install all dependencies in the container
>>   - build src/log4net.sln
>>   - inside the container run
>> - `dotnet test /logging-log4net/src/log4net.sln`
>>
>> [ ] +1, release the artifacts
>> [ ] -1, don't release, because ...
>>
>> This vote is open for 72 hours and will pass unless getting a
>> net negative vote count. All votes are welcome and we encourage
>> everyone to test the release, but only the Logging Services PMC
>> votes are officially counted.
>>
>>



Re: [VOTE] Release Apache Log4net 3.0.0

2024-09-15 Thread Davyd McColl

Hi

Apologies for the late response. FWIW, my +1 too.

-d


On 15 September 2024 20:59:13 Jan Friedrich  wrote:


Hi,

and here is my +1.

With that the vote passed with 3 +1 votes from Piotr P. Karwasz, Volkan 
Yazıcı and myself.

I will continue the release process.

Jan

Friday, September 13, 2024, 9:17:46 AM, you wrote:


+1



✅ Signatures
✅ Checksums
✅ Build (using Docker)
✅ Tests (using Docker)



Congratulations to the Log4net crew (in particular, to Jan and Davyd 🙇)
for their 3rd major release! 🎉 Keep up the great work! 💯





On Thu, Sep 12, 2024 at 8:54 PM Jan Friedrich  wrote:



This is a vote to release the Apache Log4net 3.0.0.

Website:
https://logging.staged.apache.org/log4net/release/release-notes.html
GitHub: https://github.com/apache/logging-log4net
GitHub release (pre-release):
https://github.com/apache/logging-log4net/releases/tag/rc/3.0.0-rc1
Commit: 42ba791745ceb7ff922d828c6c5572ed918df84b
Distribution: https://dist.apache.org/repos/dist/dev/logging/log4net
Signing key: 0x7D24496A230E29D6349A99EF583E491578F02D5D


Please download, test, and cast your votes on this mailing list.

How to run the unit tests?
- install docker (if you haven't already)
  - https://docs.docker.com/engine/install/
- in logging/log4net run
  - `docker build -t log4net-builder .`
  - `docker run -it log4net-builder`
- this will
  - install all dependencies in the container
  - build src/log4net.sln
  - inside the container run
- `dotnet test /logging-log4net/src/log4net.sln`

[ ] +1, release the artifacts
[ ] -1, don't release, because ...

This vote is open for 72 hours and will pass unless getting a
net negative vote count. All votes are welcome and we encourage
everyone to test the release, but only the Logging Services PMC
votes are officially counted.






[ANNOUNCE] Apache log4net 3.0.0 released

2024-09-15 Thread Jan Friedrich
Hi,

the Apache log4net team is pleased to announce the 3.0.0 release.
For further information (support, download, etc.) see
- https://logging.apache.org/log4net/release/release-notes.html
- https://github.com/apache/logging-log4net/releases/tag/rel%2F3.0.0
- https://www.nuget.org/packages/log4net/3.0.0

== Release Notes

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` (#124)
- `log4net.Appender.MemoryAppender.m_eventsList` (protected field) was changed 
from `ArrayList` to `List` (#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)

## Enhancements
- #111 (by @fluffynuts and @freeandnil)
- #124 (by @erikmav)
- #125 (by @erikmav)
- #127 (by @freeandnil)
- #109 (by @mobilebilly)

## New Contributors
* @DanAtkinson made their first contribution in 
https://github.com/apache/logging-log4net/pull/133
* @mobilebilly made their first contribution in 
https://github.com/apache/logging-log4net/pull/164

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

**Full Changelog**: 
https://github.com/apache/logging-log4net/compare/rel/2.0.17...rel/3.0.0
**Nuget**: https://www.nuget.org/packages/log4net/3.0.0