fix(objects): use proper seq log templating (#2384)
* fix(objects): use proper seq log templating * fix(objects): log message temp variable
This commit is contained in:
@@ -26,7 +26,7 @@ module.exports = (app) => {
|
||||
|
||||
const objectList = JSON.parse(req.body.objects)
|
||||
|
||||
req.log.info(`Diffing ${objectList.length} objects.`)
|
||||
req.log.info({ objectCount: objectList.length }, 'Diffing {objectCount} objects.')
|
||||
|
||||
const chunkSize = 1000
|
||||
const objectListChunks = chunk(objectList, chunkSize)
|
||||
|
||||
Reference in New Issue
Block a user