From e25dc0d8fad5a2362bf75cf5ca9f26a0fe6c674c Mon Sep 17 00:00:00 2001 From: wanshenmean <cathay_xy@163.com> Date: 星期四, 26 三月 2026 11:28:15 +0800 Subject: [PATCH] feat(WMS): 增强日志配置与添加事务处理支持 --- Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEAWCS_Server.csproj | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEAWCS_Server.csproj b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEAWCS_Server.csproj index 69ecb81..900cd79 100644 --- a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEAWCS_Server.csproj +++ b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEAWCS_Server.csproj @@ -65,6 +65,10 @@ </ItemGroup> <ItemGroup> + <PackageReference Include="Serilog.AspNetCore" Version="8.0.3" /> + <PackageReference Include="Serilog.Settings.Configuration" Version="8.0.4" /> + <PackageReference Include="Serilog.Sinks.Console" Version="5.0.1" /> + <PackageReference Include="Serilog.Sinks.File" Version="5.0.0" /> <PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" /> </ItemGroup> @@ -85,9 +89,6 @@ </ItemGroup> <ItemGroup> - <Content Update="nlog.config"> - <CopyToOutputDirectory>Always</CopyToOutputDirectory> - </Content> <Content Update="wwwroot\http.html"> <CopyToOutputDirectory>Never</CopyToOutputDirectory> </Content> @@ -107,6 +108,7 @@ </ItemGroup> <ItemGroup> + <Folder Include="logs\" /> <Folder Include="Log\" /> </ItemGroup> -- Gitblit v1.9.3