Skip to content

Commit

Permalink
fix: additional parameters to logs
Browse files Browse the repository at this point in the history
  • Loading branch information
almog8k committed Sep 11, 2024
1 parent fa89d46 commit 0a6977e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/task/models/tileMergeTaskManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export class TileMergeTaskManager {

try {
await this.queueClient.jobManagerClient.createTaskForJob(jobId, tasks);
logger.info({ msg: `Successfully enqueued task batch` });
logger.info({ msg: `Successfully enqueued task batch`, batchLength: tasks.length });
} catch (error) {
const errorMsg = (error as Error).message;
const message = `Failed to enqueue tasks: ${errorMsg}`;
Expand All @@ -112,6 +112,7 @@ export class TileMergeTaskManager {

logger.info({ msg: 'calculating max zoom level' });
const maxZoom = this.calculatePartsMaxZoom(parts);
logger.info({ msg: 'max zoom level calculated', maxZoom });

return {
parts,
Expand Down

0 comments on commit 0a6977e

Please sign in to comment.