From ee71c0b8fb56dc79acaec6965b89282f4fa5826a Mon Sep 17 00:00:00 2001 From: sassassin <530521314@qq.com> Date: Tue, 31 Aug 2021 21:44:57 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=B5=8B=E8=AF=95linux=E4=B8=8B=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/PearAdmin.AbpTemplate.Admin/appsettings.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PearAdmin.AbpTemplate.Admin/appsettings.json b/src/PearAdmin.AbpTemplate.Admin/appsettings.json index af3a4a0..a74da99 100644 --- a/src/PearAdmin.AbpTemplate.Admin/appsettings.json +++ b/src/PearAdmin.AbpTemplate.Admin/appsettings.json @@ -25,7 +25,7 @@ "autoReload": true, "throwConfigExceptions": true, "internalLogLevel": "Info", - "internalLogFile": "App_Data\\Logs\\nlogs.txt", + "internalLogFile": "App_Data/Logs/nlogs.txt", "extensions": [ { "NLog.Web.AspNetCore": { @@ -36,12 +36,12 @@ "targets": { "allfile": { "type": "File", - "fileName": "${basedir}\\App-Data\\Logs\\nlog-all-${shortdate}.log", + "fileName": "${basedir:processDir=true}/App-Data/Logs/nlog-all-${shortdate}.log", "layout": "${longdate}||${level}||${logger}||${message}||${exception:format=ToString:innerFormat=ToString:maxInnerExceptionLevel=10:separator=\\r\\n}||end" }, "ownFile-web": { "type": "File", - "fileName": "${basedir}\\App-Data\\Logs\\nlog-my-${shortdate}.log", + "fileName": "${basedir:processDir=true}/App-Data/Logs/nlog-my-${shortdate}.log", "layout": "${longdate}||${level}||${logger}||${message}||${exception:format=ToString:innerFormat=ToString:maxInnerExceptionLevel=10:separator=\\r\\n}||end" } }, -- Gitee From 83a7f4d1b417e6e95bb797df87b43d855bfd7505 Mon Sep 17 00:00:00 2001 From: sassassin <530521314@qq.com> Date: Tue, 31 Aug 2021 22:19:34 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E7=9B=B8=E5=AF=B9?= =?UTF-8?q?=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/PearAdmin.AbpTemplate.Admin/appsettings.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PearAdmin.AbpTemplate.Admin/appsettings.json b/src/PearAdmin.AbpTemplate.Admin/appsettings.json index a74da99..ddf9e98 100644 --- a/src/PearAdmin.AbpTemplate.Admin/appsettings.json +++ b/src/PearAdmin.AbpTemplate.Admin/appsettings.json @@ -36,12 +36,12 @@ "targets": { "allfile": { "type": "File", - "fileName": "${basedir:processDir=true}/App-Data/Logs/nlog-all-${shortdate}.log", + "fileName": "App-Data/Logs/nlog-all-${shortdate}.log", "layout": "${longdate}||${level}||${logger}||${message}||${exception:format=ToString:innerFormat=ToString:maxInnerExceptionLevel=10:separator=\\r\\n}||end" }, "ownFile-web": { "type": "File", - "fileName": "${basedir:processDir=true}/App-Data/Logs/nlog-my-${shortdate}.log", + "fileName": "App-Data/Logs/nlog-my-${shortdate}.log", "layout": "${longdate}||${level}||${logger}||${message}||${exception:format=ToString:innerFormat=ToString:maxInnerExceptionLevel=10:separator=\\r\\n}||end" } }, -- Gitee From a03622d304b9017ad6953cd39390c52ad7324eaf Mon Sep 17 00:00:00 2001 From: sassassin <530521314@qq.com> Date: Tue, 31 Aug 2021 22:33:38 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=95=B4=E5=90=88=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/PearAdmin.AbpTemplate.Admin/appsettings.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PearAdmin.AbpTemplate.Admin/appsettings.json b/src/PearAdmin.AbpTemplate.Admin/appsettings.json index ddf9e98..e38770b 100644 --- a/src/PearAdmin.AbpTemplate.Admin/appsettings.json +++ b/src/PearAdmin.AbpTemplate.Admin/appsettings.json @@ -36,12 +36,12 @@ "targets": { "allfile": { "type": "File", - "fileName": "App-Data/Logs/nlog-all-${shortdate}.log", + "fileName": "App_Data/Logs/nlog-all-${shortdate}.log", "layout": "${longdate}||${level}||${logger}||${message}||${exception:format=ToString:innerFormat=ToString:maxInnerExceptionLevel=10:separator=\\r\\n}||end" }, "ownFile-web": { "type": "File", - "fileName": "App-Data/Logs/nlog-my-${shortdate}.log", + "fileName": "App_Data/Logs/nlog-my-${shortdate}.log", "layout": "${longdate}||${level}||${logger}||${message}||${exception:format=ToString:innerFormat=ToString:maxInnerExceptionLevel=10:separator=\\r\\n}||end" } }, -- Gitee