Skip to content

Commit 8eef6e1

Browse files
committed
remove debug logs
1 parent 8d9c754 commit 8eef6e1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

cache-handler.mjs

-5
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ const logger = winston.createLogger({
1414
CacheHandler.onCreation(async () => {
1515
let client;
1616

17-
console.info("VALKEY_URI_STILLINGSOK: ", !!process.env.VALKEY_URI_STILLINGSOK);
18-
console.info("VALKEY_USERNAME_STILLINGSOK: ", !!process.env.VALKEY_USERNAME_STILLINGSOK);
19-
console.info("VALKEY_PASSWORD_STILLINGSOK: ", !!process.env.VALKEY_PASSWORD_STILLINGSOK);
2017
try {
2118
client = createClient({
2219
url: process.env.VALKEY_URI_STILLINGSOK ?? "redis://localhost:6379",
@@ -31,7 +28,6 @@ CacheHandler.onCreation(async () => {
3128
logger.error("Failed to create Valkey client:", error);
3229
}
3330

34-
console.info("VALKEY_AVAILABLE: ", process.env.VALKEY_AVAILABLE);
3531
if (process.env.VALKEY_AVAILABLE && client) {
3632
try {
3733
logger.info("Connecting Valkey client...");
@@ -59,7 +55,6 @@ CacheHandler.onCreation(async () => {
5955

6056
let handler;
6157

62-
console.info("client?.isReady: ", client?.isReady);
6358
if (client?.isReady) {
6459
// Create the `redis-stack` Handler if the client is available and connected.
6560
handler = await createRedisHandler({

0 commit comments

Comments
 (0)