Skip to content

Commit

Permalink
chore: improve redis logging (#29883)
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Jun 27, 2024
1 parent 91b3b98 commit 966e7a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/util/cache/package/redis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export async function set(
{ EX: redisTTL },
);
} catch (err) {
logger.once.debug({ err }, 'Error while setting cache value');
logger.once.warn({ err }, 'Error while setting Redis cache value');
}
}

Expand All @@ -105,4 +105,5 @@ export async function init(
pingInterval: 30000, // 30s
});
await client.connect();
logger.debug('Redis cache connected');
}

0 comments on commit 966e7a0

Please sign in to comment.