Skip to content

Commit ec6c084

Browse files
committed
chore: debug logging
1 parent f1681df commit ec6c084

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

packages/indexer-agent/src/agent.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,10 +296,12 @@ export class Agent {
296296
if (!operator.dipsManager) {
297297
throw new Error('DipsManager is not available')
298298
}
299-
logger.trace('Ensuring indexing rules for DIPS', {
299+
logger.debug('Ensuring indexing rules for DIPs', {
300300
protocolNetwork: network.specification.networkIdentifier,
301301
})
302302
await operator.dipsManager.ensureAgreementRules()
303+
} else {
304+
logger.debug('DIPs is disabled, skipping indexing rule enforcement')
303305
}
304306
logger.trace('Fetching indexing rules', {
305307
protocolNetwork: network.specification.networkIdentifier,
@@ -357,7 +359,7 @@ export class Agent {
357359
return assignments.map(assignment => assignment.id)
358360
} else {
359361
logger.info(
360-
"Skipping fetching active deployments fetch since DeploymentManagementMode = 'manual' and POI tracking is disabled",
362+
"Skipping fetching active deployments fetch since DeploymentManagementMode = 'manual' and DIPs is disabled",
361363
)
362364
return []
363365
}

packages/indexer-common/src/indexing-fees/dips.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ export class DipsManager {
127127
cancelled_at: null,
128128
},
129129
})
130+
this.logger.debug(`Ensuring indexing rules for ${indexingAgreements.length} agreement${indexingAgreements.length === 1 ? '' : 's'}`)
130131
// For each agreement, check that there is an indexing rule to always
131132
// allocate to the agreement's subgraphDeploymentId, and if not, create one
132133
for (const agreement of indexingAgreements) {

0 commit comments

Comments
 (0)