优化 Redis连接未启用时日志修改为警告

This commit is contained in:
tone
2024-09-26 14:02:41 +08:00
parent 82bfb826b2
commit 3a5161e73a

View File

@@ -8,7 +8,7 @@ class _RedisConnection {
constructor() {
if (!config.redis.enable) {
this.logger.info('Database is disabled, initialization terminated');
this.logger.warn('Database is disabled, initialization terminated');
return;
}