Releases: 1xtr/moleculer-elasticsearch-logger
Releases · 1xtr/moleculer-elasticsearch-logger
v1.0.5
v1.0.4
v1.0.3
v1.0.2
Added logging error to console
if (res.errors) {
console.info(`Logs are uploaded to ELK server, but has errors: ${res.errors}`)
const errorDocs = res.items.filter((doc) => doc.index.status > 300)
console.log({ errorDocs: JSON.stringify(errorDocs, null, 2) })
}