Xtensive.Orm.Logging.log4net 6.0.13

There is a newer version of this package available.
See the version list below for details.
dotnet add package Xtensive.Orm.Logging.log4net --version 6.0.13                
NuGet\Install-Package Xtensive.Orm.Logging.log4net -Version 6.0.13                
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="6.0.13" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xtensive.Orm.Logging.log4net --version 6.0.13                
#r "nuget: Xtensive.Orm.Logging.log4net, 6.0.13"                
#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.
// Install Xtensive.Orm.Logging.log4net as a Cake Addin
#addin nuget:?package=Xtensive.Orm.Logging.log4net&version=6.0.13

// Install Xtensive.Orm.Logging.log4net as a Cake Tool
#tool nuget:?package=Xtensive.Orm.Logging.log4net&version=6.0.13                

Xtensive.Orm.Logging.log4net

Summary

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

Prerequisites

DataObjects.Net 6.0.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 net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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-1 102 12/28/2023
7.1.2 103 10/18/2024
7.1.1 211 11/14/2023
7.1.0 266 4/12/2023
7.1.0-RC 119 3/9/2023
7.1.0-Beta-2 124 12/19/2022
7.1.0-Beta-1 183 7/4/2022
7.0.5 89 6/3/2024
7.0.4 133 11/12/2023
7.0.3 502 3/21/2022
7.0.2 476 2/8/2022
7.0.1 383 10/29/2021
7.0.0 392 6/2/2021
6.0.13 123 4/4/2024
6.0.12 134 11/10/2023
6.0.11 298 1/12/2023
6.0.10 459 4/29/2022
6.0.9 478 2/2/2022
6.0.8 404 10/28/2021
6.0.7 351 8/27/2021
6.0.6 411 5/24/2021
6.0.5 467 3/9/2021
6.0.4 552 12/22/2020
6.0.3 518 9/29/2020
6.0.0 681 1/28/2020
5.1.0-Beta-1 1,044 1/30/2015
5.0.24 439 4/27/2021
5.0.23 457 2/4/2021
5.0.22 553 11/18/2020
5.0.21 487 11/6/2020
5.0.20 592 12/25/2019
5.0.19 640 5/30/2019
5.0.19-Beta-2 484 4/16/2019
5.0.19-Beta-1 558 12/29/2018
5.0.18 825 9/28/2018
5.0.18-Beta-3 692 7/2/2018
5.0.18-Beta-2 774 6/6/2018
5.0.18-Beta-1 806 4/24/2018
5.0.17 992 2/27/2018
5.0.17-Beta-3 785 2/12/2018
5.0.17-Beta-2 790 1/12/2018
5.0.17-Beta-1 869 12/28/2017
5.0.16 923 12/1/2017
5.0.16-Beta-1 737 9/27/2017
5.0.15 979 8/1/2017
5.0.14 973 6/19/2017
5.0.13 989 3/22/2017
5.0.12 1,016 2/14/2017
5.0.11 985 1/25/2017
5.0.11-RC2 815 12/16/2016
5.0.11-RC 1,124 9/20/2016
5.0.10 1,025 8/5/2016
5.0.10-RC 900 6/30/2016
5.0.9 1,308 3/3/2016
5.0.8 1,084 2/15/2016
5.0.7 1,059 1/27/2016
5.0.7-RC2 905 12/8/2015
5.0.7-RC 899 9/10/2015
5.0.6 1,206 7/3/2015
5.0.5 1,250 4/23/2015
5.0.4 1,110 3/19/2015
5.0.4-RC 1,203 2/25/2015
5.0.3 1,718 10/31/2014
5.0.2 1,187 9/11/2014
5.0.0 1,141 8/15/2014
5.0.0-RC2 925 8/1/2014
5.0.0-RC 906 7/21/2014
5.0.0-Beta-3 930 5/28/2014
5.0.0-Beta-2 1,004 2/28/2014