From 72265193ca7f7012190643386288e28a8b39b7e9 Mon Sep 17 00:00:00 2001 From: eson Date: Mon, 27 Jun 2022 13:45:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9Readme.md.=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9logback=E7=9A=84=E4=B8=80=E4=BA=9B=E4=B8=8D=E5=8F=AF?= =?UTF-8?q?=E8=A7=81=E5=AD=97=E7=AC=A6=E4=B8=8A=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 +++- src/main/java/com/yuandian/common/Config.java | 1 - src/main/resources/logback.xml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dda8af5..fdfe3a5 100644 --- a/README.md +++ b/README.md @@ -191,5 +191,7 @@ Config.UseConfig("org.fortest", (cnf)->{ http://mvn.yuandian.com/repository/maven-releases http://mvn.yuandian.com/repository/maven-snapshots -如: 192.168.1.113 mvn.yuandian.com + +如: host上修改 192.168.1.113 mvn.yuandian.com +如: dns服务器指向 192.168.1.113 ``` diff --git a/src/main/java/com/yuandian/common/Config.java b/src/main/java/com/yuandian/common/Config.java index 63bfacb..4b796b7 100644 --- a/src/main/java/com/yuandian/common/Config.java +++ b/src/main/java/com/yuandian/common/Config.java @@ -358,7 +358,6 @@ public class Config { return null; }); } catch (Exception e) { - //TODO: handle exception e.printStackTrace(); } diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml index 77f76b8..1a5cfba 100644 --- a/src/main/resources/logback.xml +++ b/src/main/resources/logback.xml @@ -3,7 +3,7 @@ class="ch.qos.logback.core.ConsoleAppender"> - %d{yyyyMMdd HH:mm:ss.SSS} %-5level%thread(%file:%line): %msg%n + %d{yyyyMMdd HH:mm:ss.SSS} %-5level%thread\(%file:%line\): %msg%n