compress log size
This commit is contained in:
parent
8a647dd380
commit
ab3d5a8ee8
1 changed files with 5 additions and 1 deletions
|
|
@ -329,7 +329,11 @@ const getCurrentOutgoings = () => currentOutgoings
|
|||
const outgoingsListeners = new Set()
|
||||
|
||||
outgoingsListeners.add(o => {
|
||||
logger.info(`new outgoings: ${JSON.stringify(o, null, 4)}`)
|
||||
const values = Object.values(o)
|
||||
const nulls = values.filter(x => x === null).length
|
||||
const nonNulls = values.length - nulls
|
||||
|
||||
logger.info(`new outgoings, ${nulls} nulls and ${nonNulls} nonNulls`)
|
||||
})
|
||||
|
||||
const notifyOutgoingsListeners = () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue