mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-04-30 06:37:36 +00:00
[Change] BotCommandProcess, CacheStoreCentral 调整个别日志的输出级别;
This commit is contained in:
parent
5e030c12b2
commit
d9b08f8ad9
@ -312,7 +312,7 @@ public class BotCommandProcess {
|
|||||||
@Argument(name = "option", force = false) String contentOption,
|
@Argument(name = "option", force = false) String contentOption,
|
||||||
@Argument(name = "p", force = false, defaultValue = "1") int pagesIndex
|
@Argument(name = "p", force = false, defaultValue = "1") int pagesIndex
|
||||||
) throws IOException {
|
) throws IOException {
|
||||||
log.info("正在执行搜索...");
|
log.debug("正在执行搜索...");
|
||||||
JsonObject resultBody = CacheStoreCentral.getCentral()
|
JsonObject resultBody = CacheStoreCentral.getCentral()
|
||||||
.getSearchBody(content, type, area, includeKeywords, excludeKeywords, contentOption);
|
.getSearchBody(content, type, area, includeKeywords, excludeKeywords, contentOption);
|
||||||
|
|
||||||
@ -338,7 +338,7 @@ public class BotCommandProcess {
|
|||||||
illustsArray.forEach(illustsList::add);
|
illustsArray.forEach(illustsList::add);
|
||||||
illustsList.sort(new PreLoadDataComparator(PreLoadDataComparator.Attribute.LIKE));
|
illustsList.sort(new PreLoadDataComparator(PreLoadDataComparator.Attribute.LIKE));
|
||||||
|
|
||||||
log.info("已找到与 {} 相关插图信息({}):", content, searchArea.name().toLowerCase());
|
log.debug("已找到与 {} 相关插图信息({}):", content, searchArea.name().toLowerCase());
|
||||||
int count = 1;
|
int count = 1;
|
||||||
for (JsonElement jsonElement : illustsList) {
|
for (JsonElement jsonElement : illustsList) {
|
||||||
if (count > limit) {
|
if (count > limit) {
|
||||||
|
@ -425,7 +425,7 @@ public final class CacheStoreCentral {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
log.info("正在搜索作品, 条件: {}", searchBuilder.getSearchCondition());
|
log.debug("正在搜索作品, 条件: {}", searchBuilder.getSearchCondition());
|
||||||
|
|
||||||
String requestUrl = searchBuilder.buildURL().intern();
|
String requestUrl = searchBuilder.buildURL().intern();
|
||||||
log.debug("RequestUrl: {}", requestUrl);
|
log.debug("RequestUrl: {}", requestUrl);
|
||||||
|
Loading…
Reference in New Issue
Block a user