fix: 缓存清理异常日志级别从 debug 改为 warn,确保生产环境可见

审查发现数据库异常时 debug 级别会被静默吞掉,运维无法感知。
This commit is contained in:
yukaidi
2026-05-28 23:43:07 +08:00
parent afe2046bc8
commit 3dd4dd139b

View File

@@ -68,7 +68,7 @@ public class PostExecVerticle extends AbstractVerticle {
cn.qaiu.lz.common.cache.CacheManager cacheManager = new cn.qaiu.lz.common.cache.CacheManager();
cacheManager.cleanupExpiredCache();
} catch (Exception e) {
LOGGER.debug("定时清理缓存任务跳过(数据库可能未就绪)", e);
LOGGER.warn("定时清理缓存任务跳过(数据库可能未就绪)", e);
}
});