From 771d20c8905805cfc33963bcaff9953fbb423343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E7=81=B0=E7=81=B0?= Date: Tue, 8 Nov 2022 20:46:30 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BC=98=E5=8C=96=E3=80=91=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E6=8E=A5=E5=8F=A3=E5=8F=8A=E5=90=8E=E7=AB=AF=E7=9A=84?= =?UTF-8?q?=E3=80=90Program.cs=E3=80=91=E4=B8=AD=E5=BC=95=E7=94=A8?= =?UTF-8?q?=E3=80=90NLog.config=E3=80=91=E6=96=87=E4=BB=B6=E5=90=8D?= =?UTF-8?q?=E5=A4=A7=E5=B0=8F=E5=86=99=EF=BC=8C=E9=98=B2=E6=AD=A2linux?= =?UTF-8?q?=E4=B8=8B=E5=A4=A7=E5=B0=8F=E5=86=99=E6=95=8F=E6=84=9F=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E7=9A=84=E8=AF=BB=E5=8F=96=E5=A4=B1=E8=B4=A5=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CoreCms.Net.Web.Admin/Program.cs | 2 +- CoreCms.Net.Web.WebApi/Program.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CoreCms.Net.Web.Admin/Program.cs b/CoreCms.Net.Web.Admin/Program.cs index 040ea6da..8af90917 100644 --- a/CoreCms.Net.Web.Admin/Program.cs +++ b/CoreCms.Net.Web.Admin/Program.cs @@ -248,7 +248,7 @@ app.UseStaticFiles(); try { //确保NLog.config中连接字符串与appsettings.json中同步 - NLogUtil.EnsureNlogConfig("nlog.config"); + NLogUtil.EnsureNlogConfig("NLog.config"); //其他项目启动时需要做的事情 NLogUtil.WriteAll(LogLevel.Trace, LogType.ApiRequest, "后端启动", "后端启动成功"); diff --git a/CoreCms.Net.Web.WebApi/Program.cs b/CoreCms.Net.Web.WebApi/Program.cs index 37f46677..6908e97f 100644 --- a/CoreCms.Net.Web.WebApi/Program.cs +++ b/CoreCms.Net.Web.WebApi/Program.cs @@ -299,7 +299,7 @@ app.UseStaticFiles(); try { //确保NLog.config中连接字符串与appsettings.json中同步 - NLogUtil.EnsureNlogConfig("nlog.config"); + NLogUtil.EnsureNlogConfig("NLog.config"); //其他项目启动时需要做的事情 NLogUtil.WriteAll(LogLevel.Trace, LogType.ApiRequest, "接口启动", "接口启动成功");