From bca25af6dcbb23ac397ef9b61bb50bed5938e55f Mon Sep 17 00:00:00 2001 From: Sam Chau Date: Fri, 2 Jan 2026 20:29:06 +1030 Subject: [PATCH] refactor(scoring): remove debug logging from scoring query --- src/lib/server/pcd/queries/qualityProfiles/scoring.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/lib/server/pcd/queries/qualityProfiles/scoring.ts b/src/lib/server/pcd/queries/qualityProfiles/scoring.ts index 10ebbca..309b474 100644 --- a/src/lib/server/pcd/queries/qualityProfiles/scoring.ts +++ b/src/lib/server/pcd/queries/qualityProfiles/scoring.ts @@ -4,14 +4,12 @@ import type { PCDCache } from '../../cache.ts'; import type { QualityProfileScoring } from '../../types.ts'; -import { logger } from '$logger/logger.ts'; /** * Get quality profile scoring data * Returns all custom formats with their scores per arr type */ export async function scoring(cache: PCDCache, databaseId: number, profileId: number): Promise { - await logger.debug('scoring query called', { source: 'scoring', meta: { databaseId, profileId } }); const db = cache.kb; // 1. Get profile settings @@ -99,7 +97,5 @@ export async function scoring(cache: PCDCache, databaseId: number, profileId: nu upgrade_score_increment: profile.upgrade_score_increment }; - await logger.debug('scoring query completed', { source: 'scoring', meta: { customFormatCount: customFormatScoring.length } }); - return result; }