chore: reduce log spam on Calendars (#26927)
* Remove Vercel warnings on deploy * reduce log noise
This commit is contained in:
1 parent
411ca11d25
commit
b584f0a9de
3 files changed
+6
-6
No files matched your search
@@ -93,7 +93,7 @@ export class CalendarCacheWrapper implements Calendar {
|
||||
metrics.distribution("calendar.cache.hit.duration_ms", cacheDurationMs);
|
||||
metrics.distribution("calendar.cache.hit.events_count", cached.length);
|
||||
|
||||
log.info("Calendar cache fetch completed", {
|
||||
log.debug("Calendar cache fetch completed", {
|
||||
cachedCalendarCount: withSync.length,
|
||||
cacheFetchDurationMs: cacheDurationMs,
|
||||
cachedEventsCount: cached.length,
|
||||
@@ -120,7 +120,7 @@ export class CalendarCacheWrapper implements Calendar {
|
||||
metrics.distribution("calendar.cache.miss.duration_ms", originalDurationMs);
|
||||
metrics.distribution("calendar.cache.miss.events_count", original.length);
|
||||
|
||||
log.info("Original calendar fetch completed", {
|
||||
log.debug("Original calendar fetch completed", {
|
||||
originalCalendarCount: withoutSync.length,
|
||||
originalFetchDurationMs: originalDurationMs,
|
||||
originalEventsCount: original.length,
|
||||
|
||||
@@ -104,7 +104,7 @@ export class CalendarTelemetryWrapper implements Calendar {
|
||||
},
|
||||
});
|
||||
|
||||
log.info("Calendar fetch completed", {
|
||||
log.debug("Calendar fetch completed", {
|
||||
calendarCount: selectedCalendars.length,
|
||||
totalFetchDurationMs,
|
||||
totalEventsCount: results.length,
|
||||
@@ -170,7 +170,7 @@ export class CalendarTelemetryWrapper implements Calendar {
|
||||
}
|
||||
);
|
||||
|
||||
log.info("Calendar fetch with timezones completed", {
|
||||
log.debug("Calendar fetch with timezones completed", {
|
||||
calendarCount: selectedCalendars.length,
|
||||
totalFetchDurationMs,
|
||||
totalEventsCount: results?.length ?? 0,
|
||||
|
||||
Reference in new issue
Block a user