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:
@@ -46,9 +46,11 @@ module.exports = (app) => {
|
||||
req.log.error(err, `App error streaming objects`)
|
||||
} else {
|
||||
req.log.info(
|
||||
`Streamed ${childrenList.length} objects (size: ${
|
||||
gzipStream.bytesWritten / 1000000
|
||||
} MB)`
|
||||
{
|
||||
childCount: childrenList.length,
|
||||
mbWritten: gzipStream.bytesWritten / 1000000
|
||||
},
|
||||
'Streamed {childCount} objects (size: {mbWritten} MB)'
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user