change log format
This commit is contained in:
@@ -120,10 +120,10 @@ class PuppeteerBrowser {
|
||||
return await this.getHtml(page, url)
|
||||
});
|
||||
|
||||
logger.info('Cluster initialized %j', { cluster: this.getClsuterInfo() })
|
||||
logger.debug({ cluster: this.getClsuterInfo() }, 'Cluster initialized')
|
||||
}
|
||||
this.cluster.queue(url);
|
||||
logger.info('Add queue url(%s) cluster updated : %j', url, { cluster: this.getClsuterInfo() })
|
||||
logger.debug({ url: url, cluster: this.getClsuterInfo() }, 'Add url to queue cluster updated')
|
||||
return this.cluster.execute(url);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user