From 6829835f12ca40dae83105aa8c99cd2936ff97cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ZR20090193-=E9=99=88=E6=95=AC=E5=8B=87?= Date: Thu, 16 Mar 2023 10:56:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DS.WMS.WebApi/DS.WMS.WebApi.csproj | 2 +- .../DS.WMS.WebApi/Logs/internal-nlog.txt | 9 +++++++++ gslk-wmsapi-service-client/DS.WMS.WebApi/Program.cs | 3 +-- .../DS.WMS.WebApi/DS.WMS.WebApi.csproj | 1 - .../DS.WMS.WebApi/Logs/internal-nlog.txt | 9 +++++++++ 5 files changed, 20 insertions(+), 4 deletions(-) diff --git a/gslk-wmsapi-service-client/DS.WMS.WebApi/DS.WMS.WebApi.csproj b/gslk-wmsapi-service-client/DS.WMS.WebApi/DS.WMS.WebApi.csproj index 8e07478..d93965a 100644 --- a/gslk-wmsapi-service-client/DS.WMS.WebApi/DS.WMS.WebApi.csproj +++ b/gslk-wmsapi-service-client/DS.WMS.WebApi/DS.WMS.WebApi.csproj @@ -18,6 +18,7 @@ + @@ -27,7 +28,6 @@ - diff --git a/gslk-wmsapi-service-client/DS.WMS.WebApi/Logs/internal-nlog.txt b/gslk-wmsapi-service-client/DS.WMS.WebApi/Logs/internal-nlog.txt index 329c59a..04561e9 100644 --- a/gslk-wmsapi-service-client/DS.WMS.WebApi/Logs/internal-nlog.txt +++ b/gslk-wmsapi-service-client/DS.WMS.WebApi/Logs/internal-nlog.txt @@ -4331,3 +4331,12 @@ 2023-03-16 10:35:39.7861 Info Adding target ColoredConsoleTarget(Name=console) 2023-03-16 10:35:39.8679 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Code\DS\sdgslk-wms-solution\gslk-wmsapi-service-client\DS.WMS.WebApi\bin\Debug\net6.0\nlog.config 2023-03-16 10:35:39.8869 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile +2023-03-16 10:50:01.6346 Info AppDomain Shutting down. LogFactory closing... +2023-03-16 10:50:01.6507 Info LogFactory has been closed. +2023-03-16 10:55:42.0985 Info Message Template Auto Format enabled +2023-03-16 10:55:42.1313 Info Loading assembly: NLog.Web.AspNetCore +2023-03-16 10:55:42.2532 Info Adding target FileTarget(Name=allfile) +2023-03-16 10:55:42.2532 Info Adding target FileTarget(Name=ownFile-web) +2023-03-16 10:55:42.2719 Info Adding target ColoredConsoleTarget(Name=console) +2023-03-16 10:55:42.3222 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Code\DS\sdgslk-wms-solution\gslk-wmsapi-service-client\DS.WMS.WebApi\bin\Debug\net6.0\nlog.config +2023-03-16 10:55:42.3332 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile diff --git a/gslk-wmsapi-service-client/DS.WMS.WebApi/Program.cs b/gslk-wmsapi-service-client/DS.WMS.WebApi/Program.cs index 3e616a0..08a7f39 100644 --- a/gslk-wmsapi-service-client/DS.WMS.WebApi/Program.cs +++ b/gslk-wmsapi-service-client/DS.WMS.WebApi/Program.cs @@ -9,9 +9,8 @@ using DS.Module.Core.ServiceExtensions; using DS.Module.Jwt; using DS.Module.SqlSugar; using DS.Module.Swagger; -using DS.Module.User; +using DS.Module.UserModule; using DS.WMS.WebApi; -using Microsoft.AspNetCore.StaticFiles; using NLog.Web; var builder = WebApplication.CreateBuilder(args); diff --git a/gslk-wmsapi-service-server/DS.WMS.WebApi/DS.WMS.WebApi.csproj b/gslk-wmsapi-service-server/DS.WMS.WebApi/DS.WMS.WebApi.csproj index 35f338f..13476fe 100644 --- a/gslk-wmsapi-service-server/DS.WMS.WebApi/DS.WMS.WebApi.csproj +++ b/gslk-wmsapi-service-server/DS.WMS.WebApi/DS.WMS.WebApi.csproj @@ -27,7 +27,6 @@ - diff --git a/gslk-wmsapi-service-server/DS.WMS.WebApi/Logs/internal-nlog.txt b/gslk-wmsapi-service-server/DS.WMS.WebApi/Logs/internal-nlog.txt index 7b77a69..36f00a5 100644 --- a/gslk-wmsapi-service-server/DS.WMS.WebApi/Logs/internal-nlog.txt +++ b/gslk-wmsapi-service-server/DS.WMS.WebApi/Logs/internal-nlog.txt @@ -4300,3 +4300,12 @@ 2023-03-16 10:31:00.2957 Info Adding target ColoredConsoleTarget(Name=console) 2023-03-16 10:31:00.5639 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Code\DS\sdgslk-wms-solution\gslk-wmsapi-service-server\DS.WMS.WebApi\bin\Debug\net6.0\nlog.config 2023-03-16 10:31:00.6056 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile +2023-03-16 10:42:30.1617 Info AppDomain Shutting down. LogFactory closing... +2023-03-16 10:42:30.1828 Info LogFactory has been closed. +2023-03-16 10:43:48.6891 Info Message Template Auto Format enabled +2023-03-16 10:43:48.7116 Info Loading assembly: NLog.Web.AspNetCore +2023-03-16 10:43:48.8935 Info Adding target FileTarget(Name=allfile) +2023-03-16 10:43:48.8935 Info Adding target FileTarget(Name=ownFile-web) +2023-03-16 10:43:48.9223 Info Adding target ColoredConsoleTarget(Name=console) +2023-03-16 10:43:49.0080 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Code\DS\sdgslk-wms-solution\gslk-wmsapi-service-server\DS.WMS.WebApi\bin\Debug\net6.0\nlog.config +2023-03-16 10:43:49.0313 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile