From d9b08f8ad9f88d5d05cfbff773d2fc59bda0a48c Mon Sep 17 00:00:00 2001 From: LamGC Date: Fri, 12 Jun 2020 19:28:59 +0800 Subject: [PATCH] =?UTF-8?q?[Change]=20BotCommandProcess,=20CacheStoreCentr?= =?UTF-8?q?al=20=E8=B0=83=E6=95=B4=E4=B8=AA=E5=88=AB=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E7=9A=84=E8=BE=93=E5=87=BA=E7=BA=A7=E5=88=AB;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/net/lamgc/cgj/bot/BotCommandProcess.java | 4 ++-- src/main/java/net/lamgc/cgj/bot/cache/CacheStoreCentral.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/net/lamgc/cgj/bot/BotCommandProcess.java b/src/main/java/net/lamgc/cgj/bot/BotCommandProcess.java index 4e90626..9914fc7 100644 --- a/src/main/java/net/lamgc/cgj/bot/BotCommandProcess.java +++ b/src/main/java/net/lamgc/cgj/bot/BotCommandProcess.java @@ -312,7 +312,7 @@ public class BotCommandProcess { @Argument(name = "option", force = false) String contentOption, @Argument(name = "p", force = false, defaultValue = "1") int pagesIndex ) throws IOException { - log.info("正在执行搜索..."); + log.debug("正在执行搜索..."); JsonObject resultBody = CacheStoreCentral.getCentral() .getSearchBody(content, type, area, includeKeywords, excludeKeywords, contentOption); @@ -338,7 +338,7 @@ public class BotCommandProcess { illustsArray.forEach(illustsList::add); illustsList.sort(new PreLoadDataComparator(PreLoadDataComparator.Attribute.LIKE)); - log.info("已找到与 {} 相关插图信息({}):", content, searchArea.name().toLowerCase()); + log.debug("已找到与 {} 相关插图信息({}):", content, searchArea.name().toLowerCase()); int count = 1; for (JsonElement jsonElement : illustsList) { if (count > limit) { diff --git a/src/main/java/net/lamgc/cgj/bot/cache/CacheStoreCentral.java b/src/main/java/net/lamgc/cgj/bot/cache/CacheStoreCentral.java index e25b0b6..4499c4e 100644 --- a/src/main/java/net/lamgc/cgj/bot/cache/CacheStoreCentral.java +++ b/src/main/java/net/lamgc/cgj/bot/cache/CacheStoreCentral.java @@ -425,7 +425,7 @@ public final class CacheStoreCentral { } } - log.info("正在搜索作品, 条件: {}", searchBuilder.getSearchCondition()); + log.debug("正在搜索作品, 条件: {}", searchBuilder.getSearchCondition()); String requestUrl = searchBuilder.buildURL().intern(); log.debug("RequestUrl: {}", requestUrl);