From bafbbe0fd6990756de86c2642a78b6f3511da32c Mon Sep 17 00:00:00 2001 From: Jan Friedrich Date: Mon, 24 Oct 2022 10:03:00 +0200 Subject: [PATCH 1/2] defer creation of locking model to ActivateOptions --- src/log4net/Appender/FileAppender.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/log4net/Appender/FileAppender.cs b/src/log4net/Appender/FileAppender.cs index bf782713..af0b387b 100644 --- a/src/log4net/Appender/FileAppender.cs +++ b/src/log4net/Appender/FileAppender.cs @@ -1657,7 +1657,7 @@ protected static string ConvertToFullPath(string path) /// /// The locking model to use /// - private FileAppender.LockingModelBase m_lockingModel = new FileAppender.ExclusiveLock(); + private FileAppender.LockingModelBase m_lockingModel; #endregion Private Instance Fields From 702184c961a321f04766814ede45f64687e0e7ec Mon Sep 17 00:00:00 2001 From: Jan Friedrich Date: Mon, 24 Oct 2022 10:12:01 +0200 Subject: [PATCH 2/2] include pdb in nuget --- src/log4net/log4net.csproj | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/log4net/log4net.csproj b/src/log4net/log4net.csproj index e034b6ac..b8c8b3fe 100644 --- a/src/log4net/log4net.csproj +++ b/src/log4net/log4net.csproj @@ -6,9 +6,9 @@ Apache log4net log4net is a tool to help the programmer output log statements to a variety of output targets. - In case of problems with an application, it is helpful to enable logging so that the problem + In case of problems with an application, it is helpful to enable logging so that the problem can be located. With log4net it is possible to enable logging at runtime without modifying the - application binary. The log4net package is designed so that log statements can remain in + application binary. The log4net package is designed so that log statements can remain in shipped code without incurring a high performance cost. It follows that the speed of logging (or rather not logging) is crucial. @@ -64,6 +64,7 @@ ..\..\build\$(Configuration) ..\..\build\artifacts ..\..\build\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml + $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb 285212672 @@ -203,4 +204,12 @@ - + + + + + + + + + \ No newline at end of file