From 6c0a50a8a4b116b9474c743433b2956bacb17e21 Mon Sep 17 00:00:00 2001 From: Jan Friedrich Date: Sun, 23 Aug 2026 22:13:00 +0200 Subject: [PATCH] Update log4net from 3.3.2 to 3.4.0 All nine Logging scenarios still validate as Supported. Measured on an i5-9500 with two runs per arm. Only allocations are quoted: timing on that machine drifted up to 19% between identical builds, which is wider than any effect the upgrade has. SimpleMessage, StructuredProperties, ExceptionLogging, TemplateRendering and BufferedLogging each allocate 8 bytes less per operation. ScopeOrContext allocates 48 bytes more, 848 to 896, and is the one regression. Both 3.4.0 runs agree, and the 848 baseline is confirmed by the committed GitHub runner report as well as locally. The suspect is the LogicalThreadContextProperties setter rewrite in 3.4.0, but a standalone repro outside the matrix has not been found, so the cause is still open upstream. --- src/Matrix.Logging/Matrix.Logging.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Matrix.Logging/Matrix.Logging.csproj b/src/Matrix.Logging/Matrix.Logging.csproj index 46bc48c..86f5ad3 100644 --- a/src/Matrix.Logging/Matrix.Logging.csproj +++ b/src/Matrix.Logging/Matrix.Logging.csproj @@ -59,7 +59,7 @@ https://github.com/NLog/NLog logos/nlog.svg - + log4net log4net Log4Net