You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by fr...@apache.org on 2024/08/11 20:21:45 UTC

(logging-log4net) branch Feature/142-DisableTrimming updated (75a944c2 -> aec7abfd)

This is an automated email from the ASF dual-hosted git repository.

freeandnil pushed a change to branch Feature/142-DisableTrimming
in repository https://gitbox.apache.org/repos/asf/logging-log4net.git


    from 75a944c2 Merge remote-tracking branch 'origin/master' into Feature/142-DisableTrimming
     add 0be9ab61 Use Logging Services common pages #144
     add 5b599e7f Provide hostnames in `src/site/site.xml`
     add c3945e17 Merge pull request #145 from apache/Feature/144-Use-Logging-Services-common-pages
     add 2b1bc5d6 #144 download_log4net no longer exists (was moved to https://logging.apache.org/download.html)
     add 8d6dca76 Merge remote-tracking branch 'origin/master' into Feature/111-Dropping-support-for-older-runtimes
     add 50ed1019 #146 tabs to spaces
     add bbc057a7 #146 add installation page
     add 5bc38133 added test for TimeEvaluator #149
     add 935b16a6 Merge remote-tracking branch 'origin/master' into Feature/111-Dropping-support-for-older-runtimes
     add 1031ec47 fix download location #142
     add 531ce1f6 #152 updated download link to https://logging.apache.org/download.html
     add 825fa9b8 Merge remote-tracking branch 'origin/master' into Feature/111-Dropping-support-for-older-runtimes
     add bd6bc11a #129 Prepare release 3.0.0-preview.1
     add a4489f0c Merge branch 'master' into Feature/140-3.0.0-preview.1
     add 9c062ee4 #140 create pdb files for release builds
     add 7f830373 Merge pull request #140 from apache/Feature/140-3.0.0-preview.1
     add dcf4d78a #140 updates Contributing section (removed dead links and jira)
     add 8c608ddd #111 removed feather from logos
     add 6e564bee #111 DebuggerDisplay for LoggerKey
     add 68026d5f #154 RemotingAppender removed
     add 0c44ace9 Merge pull request #155 from apache/Feature/155-removing-RemotingAppender
     add 48d0fad3 #154 added Remove RemotingAppender to release notes
     add 1d7aaede #158 NetSendAdapter removed - last supporting OS was Windows 2000 https://learn.microsoft.com/en-us/windows/win32/api/lmmsg/nf-lmmsg-netmessagebuffersend
     add 804c8622 Merge pull request #158 from apache/Feature/158-kill-NetSendAdapter
     add 22a3b1d2 #156 fixed Regression when creating nested loggers in reverse order
     add c0cffd21 #156 better names for private Hierarchy fields
     add 998216a5 #156 use Interlocked.CompareExchange instead of lokc(this) - shortened xml comments - Hierarchy.EmittedNoAppenderWarning is now internal
     add 5f94dcca #158 added removal of NetSendAppender to release notes
     add 34b501c5 Merge pull request #157 from apache/Feature/157-fixed-Regression-when-creating-nested-loggers-in-reverse-order
     add d4e436d8 #111 3.0.0-preview.2
     add d2f7b3bc #154 removed RemotingAppender and NetSendAdapter from documentation
     add 53a6684d #111 DOMConfigurator -> XmlConfigurator
     add 04e14cd8 #111 less locking in Hierarchy.GetCurrentLoggers
     add 60d4fbc1 Fix dotnet test Command Not Recognizing NUnit3TestAdapter (#164)
     add b9eedf21 added release notes for https://github.com/apache/logging-log4net/pull/164
     add 715aa944 fixed typo in release notes for 2.0.17
     add d10b36fc #111 cleaning up comments
     add 6f5d940b #111 cleanup test class
     add 1c3c18f3 #111 removed deprecated mailing lists
     new 1ce7c303 #142 opt-out of trimming until it works
     new aec7abfd Merge remote-tracking branch 'origin/Feature/142-DisableTrimming' into Feature/142-DisableTrimming

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 README.md                                          |   14 +-
 STATUS.txt                                         |    8 +-
 doc/RELEASING.md                                   |    7 +-
 pom.xml                                            |   62 +-
 rat.excludesFile                                   |    1 +
 src/Directory.Build.props                          |   15 +-
 src/build-preview.ps1                              |    1 +
 src/log4net.Tests/Appender/RemotingAppenderTest.cs |  419 -----
 .../Appender/RollingFileAppenderTest.cs            |  488 ++---
 src/log4net.Tests/Core/EvaluatorTest.cs            |   52 +-
 src/log4net.Tests/Hierarchy/HierarchyTest.cs       |  125 +-
 src/log4net.Tests/log4net.Tests.csproj             |   41 +-
 src/log4net.sln                                    |    6 +-
 src/log4net/Appender/NetSendAppender.cs            |  333 ----
 src/log4net/Appender/RemotingAppender.cs           |  310 ----
 src/log4net/Appender/RollingFileAppender.cs        |   27 +-
 src/log4net/Plugin/RemoteLoggingServerPlugin.cs    |  233 ---
 src/log4net/Repository/Hierarchy/Hierarchy.cs      |  414 ++---
 src/log4net/Repository/Hierarchy/Logger.cs         |  248 ++-
 src/log4net/Repository/Hierarchy/LoggerKey.cs      |   12 +-
 src/log4net/Repository/Hierarchy/ProvisionNode.cs  |    9 +-
 src/log4net/assembly/bin.xml                       |   64 -
 src/site/resources/doap_log4net.rdf                |    2 +-
 src/site/resources/images/logo.jpg                 |  Bin 8184 -> 0 bytes
 src/site/resources/images/ls-logo.jpg              |  Bin 41915 -> 11951 bytes
 src/site/resources/images/maven-feather.png        |  Bin 3330 -> 0 bytes
 src/site/resources/images/maven.png                |  Bin 0 -> 2454 bytes
 src/site/site.vm                                   |  685 ++++----
 src/site/site.xml                                  |    9 +-
 src/site/xdoc/download_log4net.xml                 |  127 --
 src/site/xdoc/release/config-examples.xml          |  997 +++++------
 src/site/xdoc/release/download.xml                 |   49 +
 src/site/xdoc/release/faq.xml                      |   49 +-
 src/site/xdoc/release/features.xml                 |   13 -
 src/site/xdoc/release/framework-support.xml        |  334 ++--
 src/site/xdoc/release/manual/contexts.xml          |    8 +-
 src/site/xdoc/release/manual/installation.xml      |   43 +
 src/site/xdoc/release/manual/introduction.xml      | 1855 ++++++++++----------
 src/site/xdoc/release/manual/plugins.xml           |  114 +-
 src/site/xdoc/release/release-notes.xml            |   28 +-
 src/site/xdoc/release/security-reports.xml         |   80 -
 41 files changed, 2709 insertions(+), 4573 deletions(-)
 create mode 100644 src/build-preview.ps1
 delete mode 100644 src/log4net.Tests/Appender/RemotingAppenderTest.cs
 delete mode 100644 src/log4net/Appender/NetSendAppender.cs
 delete mode 100644 src/log4net/Appender/RemotingAppender.cs
 delete mode 100644 src/log4net/Plugin/RemoteLoggingServerPlugin.cs
 delete mode 100644 src/log4net/assembly/bin.xml
 delete mode 100644 src/site/resources/images/logo.jpg
 delete mode 100644 src/site/resources/images/maven-feather.png
 create mode 100644 src/site/resources/images/maven.png
 delete mode 100644 src/site/xdoc/download_log4net.xml
 create mode 100644 src/site/xdoc/release/download.xml
 create mode 100644 src/site/xdoc/release/manual/installation.xml
 delete mode 100644 src/site/xdoc/release/security-reports.xml


(logging-log4net) 01/02: #142 opt-out of trimming until it works

Posted by fr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

freeandnil pushed a commit to branch Feature/142-DisableTrimming
in repository https://gitbox.apache.org/repos/asf/logging-log4net.git

commit 1ce7c3032cb56637f24e38a40a6e994ec9c10686
Author: Jan Friedrich <fr...@apache.org>
AuthorDate: Thu Apr 18 10:49:38 2024 +0200

    #142 opt-out of trimming until it works
---
 src/log4net/log4net.csproj | 222 +++++++++++++++++++++++----------------------
 1 file changed, 112 insertions(+), 110 deletions(-)

diff --git a/src/log4net/log4net.csproj b/src/log4net/log4net.csproj
index 7518d9b5..06e1832c 100644
--- a/src/log4net/log4net.csproj
+++ b/src/log4net/log4net.csproj
@@ -1,116 +1,118 @@
 <Project Sdk="Microsoft.NET.Sdk">
-  <PropertyGroup>
-    <PackageId>log4net</PackageId>
-    <Title>Apache log4net</Title>
-    <Product>Apache log4net</Product>
-    <Description>
-      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
-      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
-      shipped code without incurring a high performance cost. It follows that the speed of logging
-      (or rather not logging) is crucial.
+    <PropertyGroup>
+        <PackageId>log4net</PackageId>
+        <Title>Apache log4net</Title>
+        <Product>Apache log4net</Product>
+        <Description>
+            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
+            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
+            shipped code without incurring a high performance cost. It follows that the speed of logging
+            (or rather not logging) is crucial.
 
-      At the same time, log output can be so voluminous that it quickly becomes overwhelming.
-      One of the distinctive features of log4net is the notion of hierarchical loggers.
-      Using these loggers it is possible to selectively control which log statements are output
-      at arbitrary granularity.
+            At the same time, log output can be so voluminous that it quickly becomes overwhelming.
+            One of the distinctive features of log4net is the notion of hierarchical loggers.
+            Using these loggers it is possible to selectively control which log statements are output
+            at arbitrary granularity.
 
-      log4net is designed with two distinct goals in mind: speed and flexibility
-    </Description>
-    <Platforms>AnyCPU</Platforms>
-    <TargetFrameworks>net462;netstandard2.0</TargetFrameworks>
-    <Configurations>Debug;Release</Configurations>
-    <RootNamespace>log4net</RootNamespace>
-    <AssemblyName>log4net</AssemblyName>
-    <ProjectType>Local</ProjectType>
-    <OutputType>Library</OutputType>
-    <MapFileExtensions>true</MapFileExtensions>
-    <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
-    <SignAssembly>true</SignAssembly>
-    <AssemblyOriginatorKeyFile>..\..\log4net.snk</AssemblyOriginatorKeyFile>
-    <GenerateDocumentationFile>true</GenerateDocumentationFile>
-    <OutputPath>..\..\build\$(Configuration)</OutputPath>
-    <PackageOutputPath>..\..\build\artifacts</PackageOutputPath>
-    <DocumentationFile>..\..\build\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
-    <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
-  </PropertyGroup>
-  <PropertyGroup Label="NuGet generation">
-    <Authors>The Apache Software Foundation</Authors>
-    <Copyright>Copyright 2004-2024 The Apache Software Foundation</Copyright>
-    <DevelopmentDependency>false</DevelopmentDependency>
-    <IsPackable>true</IsPackable>
-    <PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
-    <PackageProjectUrl>https://logging.apache.org/log4net/</PackageProjectUrl>
-    <PackageIcon>package-icon.png</PackageIcon>
-    <PackageTags>logging log tracing logfiles</PackageTags>
-    <RepositoryType>git</RepositoryType>
-    <RepositoryUrl>https://github.com/apache/logging-log4net</RepositoryUrl>
-    <Owners>Apache Logging Project</Owners>
-    <PackageVersion>$(Version)</PackageVersion>
-  </PropertyGroup>
-  <PropertyGroup>
-    <BaseAddress>285212672</BaseAddress>
-    <DebugType>portable</DebugType>
-    <Deterministic>true</Deterministic>
-    <FileAlignment>4096</FileAlignment>
-    <PackageReadmeFile>README.md</PackageReadmeFile>
-    <RegisterForComInterop>false</RegisterForComInterop>
-    <RemoveIntegerChecks>false</RemoveIntegerChecks>
-    <RepositoryType>git</RepositoryType>
-    <RepositoryUrl>https://github.com/apache/logging-log4net</RepositoryUrl>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)'=='Debug' ">
-    <DefineConstants>TRACE;DEBUG;$(DefineConstants)</DefineConstants>
-    <GeneratePackageOnBuild>$(GeneratePackages)</GeneratePackageOnBuild>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)'=='Release' ">
-    <DefineConstants>TRACE;STRONG;$(DefineConstants)</DefineConstants>
-    <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
-  </PropertyGroup>
-  <PropertyGroup />
-  <ItemGroup Condition="'$(TargetFramework)'=='net462'">
-    <Reference Update="System">
-      <Name>System</Name>
-    </Reference>
-    <Reference Include="System.Configuration" />
-    <Reference Include="System.Web">
-      <Name>System.Web</Name>
-    </Reference>
-    <Reference Update="System.Data">
-      <Name>System.Data</Name>
-    </Reference>
-    <Reference Update="System.Xml">
-      <Name>System.XML</Name>
-    </Reference>
-  </ItemGroup>
-  <ItemGroup Condition="'$(TargetFramework)'!='net462'">
-    <PackageReference Include="System.Configuration.ConfigurationManager" Version="4.5.0" />
-  </ItemGroup>
-  <ItemGroup>
-    <None Include="..\..\log4net.snk">
-      <Link>log4net.snk</Link>
-    </None>
-    <None Include="..\..\README.md" Pack="true" PackagePath="\" />
-  </ItemGroup>
-  <ItemGroup Label="Packaging">
-    <Content Include="..\..\package-icon.png" PackagePath="package-icon.png">
-      <Link>package-icon.png</Link>
-    </Content>
-  </ItemGroup>
-  <ItemGroup>
-    <PackageReference Include="Microsoft.Net.Compilers.Toolset" Version="4.0.1">
-      <PrivateAssets>all</PrivateAssets>
-      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
-    </PackageReference>
-  </ItemGroup>
-  <Import Project="../MonoForFramework.targets" />
-  <Target Name="_ResolveCopyLocalNuGetPackagePdbsAndXml" Condition="$(CopyLocalLockFileAssemblies) == true" AfterTargets="ResolveReferences">
-    <!-- "Workaround" for missing '.pdb'-Files from NuGet Packages -->
-    <!-- https://github.com/dotnet/sdk/issues/1458#issuecomment-420456386 -->
+            log4net is designed with two distinct goals in mind: speed and flexibility
+        </Description>
+        <Platforms>AnyCPU</Platforms>
+        <TargetFrameworks>net462;netstandard2.0</TargetFrameworks>
+        <Configurations>Debug;Release</Configurations>
+        <RootNamespace>log4net</RootNamespace>
+        <AssemblyName>log4net</AssemblyName>
+        <ProjectType>Local</ProjectType>
+        <OutputType>Library</OutputType>
+        <MapFileExtensions>true</MapFileExtensions>
+        <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
+        <SignAssembly>true</SignAssembly>
+        <AssemblyOriginatorKeyFile>..\..\log4net.snk</AssemblyOriginatorKeyFile>
+        <!-- opt-out of trimming until it works https://github.com/apache/logging-log4net/issues/142 -->
+        <SetIsTrimmable>false</SetIsTrimmable>
+        <GenerateDocumentationFile>true</GenerateDocumentationFile>
+        <OutputPath>..\..\build\$(Configuration)</OutputPath>
+        <PackageOutputPath>..\..\build\artifacts</PackageOutputPath>
+        <DocumentationFile>..\..\build\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
+        <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
+    </PropertyGroup>
+    <PropertyGroup Label="NuGet generation">
+        <Authors>The Apache Software Foundation</Authors>
+        <Copyright>Copyright 2004-2024 The Apache Software Foundation</Copyright>
+        <DevelopmentDependency>false</DevelopmentDependency>
+        <IsPackable>true</IsPackable>
+        <PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
+        <PackageProjectUrl>https://logging.apache.org/log4net/</PackageProjectUrl>
+        <PackageIcon>package-icon.png</PackageIcon>
+        <PackageTags>logging log tracing logfiles</PackageTags>
+        <RepositoryType>git</RepositoryType>
+        <RepositoryUrl>https://github.com/apache/logging-log4net</RepositoryUrl>
+        <Owners>Apache Logging Project</Owners>
+        <PackageVersion>$(Version)</PackageVersion>
+    </PropertyGroup>
+    <PropertyGroup>
+        <BaseAddress>285212672</BaseAddress>
+        <DebugType>portable</DebugType>
+        <Deterministic>true</Deterministic>
+        <FileAlignment>4096</FileAlignment>
+        <PackageReadmeFile>README.md</PackageReadmeFile>
+        <RegisterForComInterop>false</RegisterForComInterop>
+        <RemoveIntegerChecks>false</RemoveIntegerChecks>
+        <RepositoryType>git</RepositoryType>
+        <RepositoryUrl>https://github.com/apache/logging-log4net</RepositoryUrl>
+    </PropertyGroup>
+    <PropertyGroup Condition=" '$(Configuration)'=='Debug' ">
+        <DefineConstants>TRACE;DEBUG;$(DefineConstants)</DefineConstants>
+        <GeneratePackageOnBuild>$(GeneratePackages)</GeneratePackageOnBuild>
+    </PropertyGroup>
+    <PropertyGroup Condition=" '$(Configuration)'=='Release' ">
+        <DefineConstants>TRACE;STRONG;$(DefineConstants)</DefineConstants>
+        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    </PropertyGroup>
+    <PropertyGroup />
+    <ItemGroup Condition="'$(TargetFramework)'=='net462'">
+        <Reference Update="System">
+            <Name>System</Name>
+        </Reference>
+        <Reference Include="System.Configuration" />
+        <Reference Include="System.Web">
+            <Name>System.Web</Name>
+        </Reference>
+        <Reference Update="System.Data">
+            <Name>System.Data</Name>
+        </Reference>
+        <Reference Update="System.Xml">
+            <Name>System.XML</Name>
+        </Reference>
+    </ItemGroup>
+    <ItemGroup Condition="'$(TargetFramework)'!='net462'">
+        <PackageReference Include="System.Configuration.ConfigurationManager" Version="4.5.0" />
+    </ItemGroup>
+    <ItemGroup>
+        <None Include="..\..\log4net.snk">
+            <Link>log4net.snk</Link>
+        </None>
+        <None Include="..\..\README.md" Pack="true" PackagePath="\" />
+    </ItemGroup>
+    <ItemGroup Label="Packaging">
+        <Content Include="..\..\package-icon.png" PackagePath="package-icon.png">
+            <Link>package-icon.png</Link>
+        </Content>
+    </ItemGroup>
     <ItemGroup>
-      <ReferenceCopyLocalPaths Include="@(ReferenceCopyLocalPaths->'%(RootDir)%(Directory)%(Filename).pdb')" Condition="'%(ReferenceCopyLocalPaths.NuGetPackageId)' != '' and Exists('%(RootDir)%(Directory)%(Filename).pdb')" />
-      <ReferenceCopyLocalPaths Include="@(ReferenceCopyLocalPaths->'%(RootDir)%(Directory)%(Filename).xml')" Condition="'%(ReferenceCopyLocalPaths.NuGetPackageId)' != '' and Exists('%(RootDir)%(Directory)%(Filename).xml')" />
+        <PackageReference Include="Microsoft.Net.Compilers.Toolset" Version="4.0.1">
+            <PrivateAssets>all</PrivateAssets>
+            <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
+        </PackageReference>
     </ItemGroup>
-  </Target>
+    <Import Project="../MonoForFramework.targets" />
+    <Target Name="_ResolveCopyLocalNuGetPackagePdbsAndXml" Condition="$(CopyLocalLockFileAssemblies) == true" AfterTargets="ResolveReferences">
+        <!-- "Workaround" for missing '.pdb'-Files from NuGet Packages -->
+        <!-- https://github.com/dotnet/sdk/issues/1458#issuecomment-420456386 -->
+        <ItemGroup>
+            <ReferenceCopyLocalPaths Include="@(ReferenceCopyLocalPaths->'%(RootDir)%(Directory)%(Filename).pdb')" Condition="'%(ReferenceCopyLocalPaths.NuGetPackageId)' != '' and Exists('%(RootDir)%(Directory)%(Filename).pdb')" />
+            <ReferenceCopyLocalPaths Include="@(ReferenceCopyLocalPaths->'%(RootDir)%(Directory)%(Filename).xml')" Condition="'%(ReferenceCopyLocalPaths.NuGetPackageId)' != '' and Exists('%(RootDir)%(Directory)%(Filename).xml')" />
+        </ItemGroup>
+    </Target>
 </Project>
\ No newline at end of file


(logging-log4net) 02/02: Merge remote-tracking branch 'origin/Feature/142-DisableTrimming' into Feature/142-DisableTrimming

Posted by fr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

freeandnil pushed a commit to branch Feature/142-DisableTrimming
in repository https://gitbox.apache.org/repos/asf/logging-log4net.git

commit aec7abfdf8c8035a1cda370b84d99f0c137decbf
Merge: 1ce7c303 75a944c2
Author: Jan Friedrich <fr...@apache.org>
AuthorDate: Sun Aug 11 22:21:26 2024 +0200

    Merge remote-tracking branch 'origin/Feature/142-DisableTrimming' into Feature/142-DisableTrimming
    
    # Conflicts:
    #       src/log4net/log4net.csproj

 src/log4net/log4net.csproj | 226 +++++++++++++++++++++++----------------------
 1 file changed, 114 insertions(+), 112 deletions(-)