From c5d31f38bf5e7788347635bbc230d7b6fa332c38 Mon Sep 17 00:00:00 2001 From: xljiulang <366193849@qq.com> Date: Sun, 18 Jul 2021 02:11:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=97=A5=E5=BF=97=E7=AD=89?= =?UTF-8?q?=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FastGithub.Dns/DnsServerHostedService.cs | 2 +- FastGithub.ReverseProxy/KestrelServerOptionsExtensions.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/FastGithub.Dns/DnsServerHostedService.cs b/FastGithub.Dns/DnsServerHostedService.cs index 76b9dd5..27cc65e 100644 --- a/FastGithub.Dns/DnsServerHostedService.cs +++ b/FastGithub.Dns/DnsServerHostedService.cs @@ -195,7 +195,7 @@ namespace FastGithub.Dns } else { - this.logger.LogError("不支持自动设置dns,请手动设置网卡的dns为127.0.0.1"); + this.logger.LogWarning("不支持自动设置dns,请手动设置网卡的dns为127.0.0.1"); } return default; diff --git a/FastGithub.ReverseProxy/KestrelServerOptionsExtensions.cs b/FastGithub.ReverseProxy/KestrelServerOptionsExtensions.cs index 648ab2d..968eb95 100644 --- a/FastGithub.ReverseProxy/KestrelServerOptionsExtensions.cs +++ b/FastGithub.ReverseProxy/KestrelServerOptionsExtensions.cs @@ -79,7 +79,7 @@ namespace FastGithub } catch (Exception) { - logger.LogError($"安装根证书{caPublicCerPath}失败:请手动安装到“将所有的证书都放入下载存储”\\“受信任的根证书颁发机构”"); + logger.LogWarning($"安装根证书{caPublicCerPath}失败:请手动安装到“将所有的证书都放入下载存储”\\“受信任的根证书颁发机构”"); } } }