diff --git a/src/user-profiles/user-profiles.service.ts b/src/user-profiles/user-profiles.service.ts index dea9f27..4ae0085 100644 --- a/src/user-profiles/user-profiles.service.ts +++ b/src/user-profiles/user-profiles.service.ts @@ -1,3 +1,4 @@ +/* eslint-disable no-console */ import fs from 'fs'; import { Injectable } from '@nestjs/common'; import { InjectModel } from '@nestjs/sequelize'; @@ -538,6 +539,12 @@ export class UserProfilesService { ], }, ], + logging: (sql, timing) => { + console.log('Recommendations SQL query:'); + console.log(sql); + console.log(timing); + }, + benchmark: true, }); const sortedProfiles = _.orderBy(