mirror of
				https://github.com/LamGC/ContentGrabbingJi.git
				synced 2025-11-04 02:26:57 +00:00 
			
		
		
		
	[Change] BotCommandProcess, CacheStoreCentral 调整个别日志的输出级别;
This commit is contained in:
		@ -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) {
 | 
			
		||||
 | 
			
		||||
@ -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);
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user