diff --git a/src/SerilogEcsLogging/Logging/EcsMapper.cs b/src/SerilogEcsLogging/Logging/EcsMapper.cs
index 52aff71..179b1af 100644
--- a/src/SerilogEcsLogging/Logging/EcsMapper.cs
+++ b/src/SerilogEcsLogging/Logging/EcsMapper.cs
@@ -44,7 +44,6 @@ public static Elastic.CommonSchema.Base MapLogEvent(Elastic.CommonSchema.Base ec
{
result.Service ??= new Service();
result.Service.Name = assemblyName.ToString().Trim('"');
- result.Tags = result.Tags != null ? result.Tags.Concat(new[] { result.Service.Name }).ToArray() : new[] { result.Service.Name };
}
// Service.Version
diff --git a/src/SerilogEcsLogging/Logging/HostBuilderExtensions.cs b/src/SerilogEcsLogging/Logging/HostBuilderExtensions.cs
index 5021511..fc7ea37 100644
--- a/src/SerilogEcsLogging/Logging/HostBuilderExtensions.cs
+++ b/src/SerilogEcsLogging/Logging/HostBuilderExtensions.cs
@@ -1,9 +1,5 @@
-using Elastic.CommonSchema.Serilog;
-using Microsoft.AspNetCore.Http;
-using Microsoft.Extensions.Configuration;
-using Microsoft.Extensions.Hosting;
+using Microsoft.Extensions.Hosting;
using Serilog;
-using Serilog.Events;
namespace SerilogEcsLogging.Logging;
diff --git a/src/SerilogEcsLogging/SerilogEcsLogging.csproj b/src/SerilogEcsLogging/SerilogEcsLogging.csproj
index 936bc9c..ede3658 100644
--- a/src/SerilogEcsLogging/SerilogEcsLogging.csproj
+++ b/src/SerilogEcsLogging/SerilogEcsLogging.csproj
@@ -7,7 +7,7 @@
true
mrapavy
https://github.com/mrapavy/serilog-ecs-logging
- 1.0.7
+ 1.0.8