From 28f958878bef7c6eb2777b2fa13f8e4ee254c57f Mon Sep 17 00:00:00 2001 From: zhaojun1998 Date: Sat, 11 Jan 2020 23:02:19 +0800 Subject: [PATCH] =?UTF-8?q?:loud=5Fsound:=20=E6=9B=B4=E6=96=B0=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E7=BA=A7=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../im/zhaojun/common/service/FileAsyncCacheService.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/im/zhaojun/common/service/FileAsyncCacheService.java b/src/main/java/im/zhaojun/common/service/FileAsyncCacheService.java index 78002a1..a47653e 100644 --- a/src/main/java/im/zhaojun/common/service/FileAsyncCacheService.java +++ b/src/main/java/im/zhaojun/common/service/FileAsyncCacheService.java @@ -43,20 +43,20 @@ public class FileAsyncCacheService { StorageTypeEnum storageStrategy = systemConfigService.getCurrentStorageStrategy(); if (storageStrategy == null) { - log.info("尚未配置存储策略. 跳过启动缓存."); + log.debug("尚未配置存储策略. 跳过启动缓存."); return; } boolean enableCache = systemConfigService.getEnableCache(); if (!enableCache) { - log.info("当前启用存储策略 {}, 尚未开启缓存, 跳过缓存.", storageStrategy); + log.debug("存储策略 {} 未启用缓存, 跳过缓存.", storageStrategy.getDescription()); return; } AbstractFileService fileService = StorageTypeFactory.getStorageTypeService(storageStrategy); if (fileService.getIsUnInitialized()) { - log.info("存储策略 {} 未初始化成功, 跳过启动缓存.", storageStrategy.getDescription()); + log.debug("存储策略 {} 未初始化成功, 跳过缓存.", storageStrategy.getDescription()); return; }