diff --git a/SystemExtensions.NetStandard.DependencyInjection/Logging/CVLoggerProvider.cs b/SystemExtensions.NetStandard.DependencyInjection/Logging/CVLoggerProvider.cs
index 5aba840..458e576 100644
--- a/SystemExtensions.NetStandard.DependencyInjection/Logging/CVLoggerProvider.cs
+++ b/SystemExtensions.NetStandard.DependencyInjection/Logging/CVLoggerProvider.cs
@@ -7,7 +7,7 @@ namespace System.Logging
public sealed class CVLoggerProvider : ICVLoggerProvider
{
private readonly ILogsWriter logsManager;
- private CorrelationVector correlationVector;
+ private readonly CorrelationVector correlationVector;
public CVLoggerProvider(ILogsWriter logsWriter)
{
@@ -28,11 +28,6 @@ namespace System.Logging
public ILogger CreateLogger(string categoryName)
{
- if (this.correlationVector is not null)
- {
- this.correlationVector = CorrelationVector.Extend(this.correlationVector.ToString());
- }
-
return new CVLogger(categoryName, this);
}
diff --git a/SystemExtensions.NetStandard.DependencyInjection/SystemExtensions.NetStandard.DependencyInjection.csproj b/SystemExtensions.NetStandard.DependencyInjection/SystemExtensions.NetStandard.DependencyInjection.csproj
index 66cf1cc..6c2cabb 100644
--- a/SystemExtensions.NetStandard.DependencyInjection/SystemExtensions.NetStandard.DependencyInjection.csproj
+++ b/SystemExtensions.NetStandard.DependencyInjection/SystemExtensions.NetStandard.DependencyInjection.csproj
@@ -6,7 +6,7 @@
LICENSE
true
latest
- 1.1.1
+ 1.1.2
Alexandru Macocian
https://github.com/AlexMacocian/SystemExtensions