chore(api): bump source-db hit logs to log level for dev verification
Easier to see [source-db hit pcat/emex] lines while dev verifies coverage. Can be downgraded back to debug once we've measured prod hit rates. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -936,7 +936,7 @@ export class CategoriesService {
|
||||
// verification can measure source-DB coverage.
|
||||
let partsResult = await this.pcatSourceDb.fetchParts(catalogId, carId, groupId);
|
||||
if (partsResult) {
|
||||
this.logger.debug(`[source-db hit pcat] car=${carId} group=${groupId}`);
|
||||
this.logger.log(`[source-db hit pcat] car=${carId} group=${groupId}`);
|
||||
} else {
|
||||
partsResult = await this.partsCatalogsService.fetchParts(
|
||||
catalogId,
|
||||
@@ -1103,7 +1103,7 @@ export class CategoriesService {
|
||||
category.externalId,
|
||||
);
|
||||
if (emexResult) {
|
||||
this.logger.debug(
|
||||
this.logger.log(
|
||||
`[source-db hit emex] catalog=${catalogCode} gid=${category.externalId}`,
|
||||
);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user