remove excess logging

This commit is contained in:
Owen
2026-08-11 12:11:21 -04:00
parent b60390d805
commit 68a84181d9
2 changed files with 15 additions and 15 deletions
+5 -5
View File
@@ -48,11 +48,11 @@ class AdaptiveCache {
async get<T = any>(key: string): Promise<T | undefined> { async get<T = any>(key: string): Promise<T | undefined> {
// Use local cache as fallback or primary // Use local cache as fallback or primary
const value = localCache.get<T>(key); const value = localCache.get<T>(key);
if (value !== undefined) { // if (value !== undefined) {
logger.debug(`Cache hit in local cache: ${key}`); // logger.debug(`Cache hit in local cache: ${key}`);
} else { // } else {
logger.debug(`Cache miss in local cache: ${key}`); // logger.debug(`Cache miss in local cache: ${key}`);
} // }
return value; return value;
} }
+10 -10
View File
@@ -111,11 +111,11 @@ class AdaptiveCache {
// Use local cache as fallback or primary // Use local cache as fallback or primary
const value = localCache.get<T>(key); const value = localCache.get<T>(key);
if (value !== undefined) { // if (value !== undefined) {
logger.debug(`Cache hit in local cache: ${key}`); // logger.debug(`Cache hit in local cache: ${key}`);
} else { // } else {
logger.debug(`Cache miss in local cache: ${key}`); // logger.debug(`Cache miss in local cache: ${key}`);
} // }
return value; return value;
} }
@@ -367,11 +367,11 @@ class RegionalAdaptiveCache {
} }
const value = regionalLocalCache.get<T>(key); const value = regionalLocalCache.get<T>(key);
if (value !== undefined) { // if (value !== undefined) {
logger.debug(`[regional] Cache hit in local cache: ${key}`); // logger.debug(`[regional] Cache hit in local cache: ${key}`);
} else { // } else {
logger.debug(`[regional] Cache miss in local cache: ${key}`); // logger.debug(`[regional] Cache miss in local cache: ${key}`);
} // }
return value; return value;
} }