Skip to content

Commit d7ea2ff

Browse files
committed
chore: change debug logs
Signed-off-by: Uroš Marolt <uros@marolt.me>
1 parent 26b58ee commit d7ea2ff

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

backend/src/services/integrationService.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2192,19 +2192,19 @@ export default class IntegrationService {
21922192
new Set([...(integration.segmentId ? [integration.segmentId] : []), ...mappedSegments]),
21932193
)
21942194

2195-
this.options.log.info(
2195+
this.options.log.debug(
21962196
`Evaluating cache for repos: ${repos.map((r) => r.name).join(',')} and segments: ${segments}`,
21972197
)
21982198
cachedStats = await IntegrationProgressRepository.getDbStatsForGithub({
21992199
repos,
22002200
segments,
22012201
})
22022202

2203-
this.options.log.info(`Caching data: ${JSON.stringify(cachedStats)}`)
2203+
this.options.log.debug(`Caching data: ${JSON.stringify(cachedStats)}`)
22042204
// cache for 1 minute
22052205
await cacheDb.set(key, JSON.stringify(cachedStats), 60)
22062206
} else {
2207-
this.options.log.info(`Cache data found: ${JSON.stringify(cachedStats)}`)
2207+
this.options.log.debug(`Cache data found: ${JSON.stringify(cachedStats)}`)
22082208
cachedStats = JSON.parse(cachedStats)
22092209
}
22102210
return cachedStats as GitHubStats

0 commit comments

Comments
 (0)