log4net.ElasticSearch.Async
1.2.1
log4net.ElasticSearch.Async is a log4net appender, based on log4net.ElasticSearch package, for easy logging of exceptions and messages to Elasticsearch indices. The main improvement over log4net.ElasticSearch is background/async logging based on producer-consumer pattern, automatically utilizing bulk API in case of log event bursts. Currently the package provides:
- Background/Async logging based on producer-consumer pattern (non-blocking for main application thread)
- Configurable exponential backoff retry policy for communication with ElasticSearch
- Configurable buffer sizes with rolling buffer option (both general producer-consumer buffer and intermediate flush buffer)
- External machine IP added to log events (if possible)
- Skipping TLS certificate validation for ElasticSearch endpoint
- Setting custom HTTP(S) proxy
- Disabling system HTTP(S) proxy
- Using custom ElasticSearch processing pipeline
- Gzip HTTP compression
- NET Standard 2.0 support
See the version list below for details.
Install-Package log4net.ElasticSearch.Async -Version 1.2.1
dotnet add package log4net.ElasticSearch.Async --version 1.2.1
<PackageReference Include="log4net.ElasticSearch.Async" Version="1.2.1" />
paket add log4net.ElasticSearch.Async --version 1.2.1
Release Notes
- Background/Async logging based on producer-consumer pattern (non-blocking for main application thread)
- Configurable exponential backoff retry policy for communication with ElasticSearch
- Configurable buffer sizes with rolling buffer option (both general producer-consumer buffer and intermediate flush buffer)
- External machine IP added to log events (if possible)
- Skipping TLS certificate validation for ElasticSearch endpoint
- Setting custom HTTP(S) proxy
- Disabling system HTTP(S) proxy
- Using custom ElasticSearch processing pipeline
- Gzip HTTP compression
- NET Standard 2.0 support
Dependencies
-
.NETFramework 4.0
-
.NETFramework 4.5
-
.NETStandard 2.0
- log4net (>= 2.0.8)
- Newtonsoft.Json (>= 11.0.2)
- Polly (>= 6.0.1)
GitHub Usage
This package is not used by any popular GitHub repositories.