PH.RollingZipRotatorLog4net 2.0.3

There is a newer version of this package available.
See the version list below for details.
Install-Package PH.RollingZipRotatorLog4net -Version 2.0.3
dotnet add package PH.RollingZipRotatorLog4net --version 2.0.3
<PackageReference Include="PH.RollingZipRotatorLog4net" Version="2.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PH.RollingZipRotatorLog4net --version 2.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PH.RollingZipRotatorLog4net, 2.0.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install PH.RollingZipRotatorLog4net as a Cake Addin
#addin nuget:?package=PH.RollingZipRotatorLog4net&version=2.0.3

// Install PH.RollingZipRotatorLog4net as a Cake Tool
#tool nuget:?package=PH.RollingZipRotatorLog4net&version=2.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

PH.RollingZipRotator.log4net

A Zip utility to perform a very simple log4net file rotation. The code perform a zip-compression on every log-rotated file and delete it, watching on log4net output directory reading settings of appenders.

The package is available on nuget

Code Examples

Perform a Rotation

//already configured log4net logger...
var instance =
                PH.RollingZipRotatorLog4net.RollingFileFactory.CreateSimple();
//remember to start watching!
instance.StartWatch();

Enable Debug Mode

//already configured log4net logger with Debug level...
var instance =
                PH.RollingZipRotatorLog4net.RollingFileFactory.CreateSimple();

instance.DebugEnabled(true);
//remember to start watching!
instance.StartWatch();

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
2.0.10 200 9/14/2020
2.0.8 310 10/14/2019
2.0.7 250 10/10/2019
2.0.6 267 7/17/2019
2.0.5 274 7/17/2019
2.0.4 302 5/21/2019
2.0.3 360 3/21/2019
2.0.2 566 1/11/2019
2.0.1 389 12/20/2018
2.0.0 431 11/26/2018
1.0.0 409 11/20/2018

add initial rotation over existing files