logger catagorizing libs

This commit is contained in:
Boki 2025-06-20 07:53:53 -04:00
parent 7a8e542ada
commit 4726a85cf3
12 changed files with 35 additions and 36 deletions

View file

@ -79,7 +79,7 @@ export class RedisCache implements CacheProvider {
});
this.redis.on('reconnecting', () => {
this.logger.info('Redis cache reconnecting...');
this.logger.warn('Redis cache reconnecting...');
});
}
@ -282,7 +282,7 @@ export class RedisCache implements CacheProvider {
const keys = await this.redis.keys(pattern);
if (keys.length > 0) {
await this.redis.del(...keys);
this.logger.info('Cache cleared', { keysDeleted: keys.length });
this.logger.warn('Cache cleared', { keysDeleted: keys.length });
}
},
undefined,