Xtensive.Orm.Logging.log4net 7.2.0-Beta-2

This is a prerelease version of Xtensive.Orm.Logging.log4net.
dotnet add package Xtensive.Orm.Logging.log4net --version 7.2.0-Beta-2
                    
NuGet\Install-Package Xtensive.Orm.Logging.log4net -Version 7.2.0-Beta-2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Xtensive.Orm.Logging.log4net" Version="7.2.0-Beta-2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Xtensive.Orm.Logging.log4net" Version="7.2.0-Beta-2" />
                    
Directory.Packages.props
<PackageReference Include="Xtensive.Orm.Logging.log4net" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Xtensive.Orm.Logging.log4net --version 7.2.0-Beta-2
                    
#r "nuget: Xtensive.Orm.Logging.log4net, 7.2.0-Beta-2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Xtensive.Orm.Logging.log4net@7.2.0-Beta-2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Xtensive.Orm.Logging.log4net&version=7.2.0-Beta-2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Xtensive.Orm.Logging.log4net&version=7.2.0-Beta-2&prerelease
                    
Install as a Cake Tool

Xtensive.Orm.Logging.log4net

Summary

The extension provides integration points between DataObjects.Net internal logging system and log4net.

Prerequisites

DataObjects.Net 7.1.x (http://dataobjects.net) log4net 2.0.10 or later (http://logging.apache.org/log4net/)

Implementation

Set up log provider in Xtensive.Orm configuration section

  <Xtensive.Orm>
    <domains>
      <domain ... >
      </domain>
    </domains>
    <logging provider="Xtensive.Orm.Logging.log4net.LogProvider, Xtensive.Orm.Logging.log4net">
  </Xtensive.Orm>

Configure log4net (http://logging.apache.org/log4net/release/manual/configuration.html), e.g.:

  <?xml version="1.0" encoding="utf-8" ?>
  <configuration>
    <configSections>
      ...
      <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net"/>
    </configSections>
    <Xtensive.Orm>
      <domains>
        <domain ... >
        </domain>
      </domains>
      <logging provider="Xtensive.Orm.Logging.NLog.LogProvider, Xtensive.Orm.Logging.log4net">
    </Xtensive.Orm>
  
    <log4net>
      <appender name="ConsoleAppernder" type="log4net.Appender.ConsoleAppender">
        <layout type="log4net.Layout.PatternLayout">
          <conversionPattern value="%date [%thread] %-5level %logger %message%newline" />
        </layout>
      </appender>
    
      <logger name="Xtensive.Orm">
        <level value="ALL" />
        <appender-ref ref="ConsoleAppernder" />
      </logger>
    </log4net>
  </configuration>

You can choose from the following predefined internal loggers:

  • "Xtensive.Orm"
  • "Xtensive.Orm.Upgrade"
  • "Xtensive.Orm.Building"
  • "Xtensive.Orm.Core"
  • "Xtensive.Orm.Sql"
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
7.2.0-Beta-2 132 4/27/2025
7.2.0-Beta-1 120 12/28/2023
7.1.5 219 4/10/2025
7.1.4 154 1/27/2025
7.1.2 169 10/18/2024
7.1.1 240 11/14/2023
7.1.0 326 4/12/2023
7.1.0-RC 169 3/9/2023
7.1.0-Beta-2 175 12/19/2022
7.1.0-Beta-1 243 7/4/2022
7.0.6 123 12/19/2024
7.0.5 130 6/3/2024
7.0.4 161 11/12/2023
7.0.3 579 3/21/2022
7.0.2 557 2/8/2022
7.0.1 464 10/29/2021
7.0.0 473 6/2/2021
6.0.14 138 12/17/2024
6.0.13 160 4/4/2024
6.0.12 161 11/10/2023
6.0.11 356 1/12/2023
6.0.10 532 4/29/2022
6.0.9 556 2/2/2022
6.0.8 482 10/28/2021
6.0.7 428 8/27/2021
6.0.6 487 5/24/2021
6.0.5 559 3/9/2021
6.0.4 643 12/22/2020
6.0.3 608 9/29/2020
6.0.0 785 1/28/2020
5.1.0-Beta-1 1,273 1/30/2015
5.0.24 518 4/27/2021
5.0.23 552 2/4/2021
5.0.22 647 11/18/2020
5.0.21 582 11/6/2020
5.0.20 692 12/25/2019
5.0.19 747 5/30/2019
5.0.19-Beta-2 581 4/16/2019
5.0.19-Beta-1 656 12/29/2018
5.0.18 956 9/28/2018
5.0.18-Beta-3 894 7/2/2018
5.0.18-Beta-2 1,074 6/6/2018
5.0.18-Beta-1 1,118 4/24/2018
5.0.17 1,320 2/27/2018
5.0.17-Beta-3 1,103 2/12/2018
5.0.17-Beta-2 1,106 1/12/2018
5.0.17-Beta-1 1,185 12/28/2017
5.0.16 1,146 12/1/2017
5.0.16-Beta-1 946 9/27/2017
5.0.15 1,198 8/1/2017
5.0.14 1,198 6/19/2017
5.0.13 1,213 3/22/2017
5.0.12 1,244 2/14/2017
5.0.11 1,220 1/25/2017
5.0.11-RC2 1,030 12/16/2016
5.0.11-RC 1,339 9/20/2016
5.0.10 1,257 8/5/2016
5.0.10-RC 1,119 6/30/2016
5.0.9 1,583 3/3/2016
5.0.8 1,318 2/15/2016
5.0.7 1,295 1/27/2016
5.0.7-RC2 1,123 12/8/2015
5.0.7-RC 1,121 9/10/2015
5.0.6 1,447 7/3/2015
5.0.5 1,491 4/23/2015
5.0.4 1,347 3/19/2015
5.0.4-RC 1,430 2/25/2015
5.0.3 1,963 10/31/2014
5.0.2 1,425 9/11/2014
5.0.0 1,381 8/15/2014
5.0.0-RC2 1,151 8/1/2014
5.0.0-RC 1,137 7/21/2014
5.0.0-Beta-3 1,155 5/28/2014
5.0.0-Beta-2 1,238 2/28/2014