diff --git a/server/RdtClient.Service/RdtClient.Service.csproj b/server/RdtClient.Service/RdtClient.Service.csproj index 18b5bcc..1812f76 100644 --- a/server/RdtClient.Service/RdtClient.Service.csproj +++ b/server/RdtClient.Service/RdtClient.Service.csproj @@ -15,7 +15,6 @@ - diff --git a/server/RdtClient.Web/Program.cs b/server/RdtClient.Web/Program.cs index ffb2c31..ecf2247 100644 --- a/server/RdtClient.Web/Program.cs +++ b/server/RdtClient.Web/Program.cs @@ -9,7 +9,6 @@ using RdtClient.Service.Middleware; using RdtClient.Service.Services; using Serilog; using Serilog.Events; -using Serilog.Exceptions; var builder = WebApplication.CreateBuilder(new WebApplicationOptions { @@ -40,7 +39,6 @@ builder.WebHost.ConfigureKestrel(options => if (appSettings.Logging?.File?.Path != null) { builder.Host.UseSerilog((_, lc) => lc.Enrich.FromLogContext() - .Enrich.WithExceptionDetails() .WriteTo.File(appSettings.Logging.File.Path, rollOnFileSizeLimit: true, fileSizeLimitBytes: appSettings.Logging.File.FileSizeLimitBytes,