loggly / node-loggly-bulk

A client implementation for Loggly in node.js
https://www.loggly.com/docs/node-js-logs/
Other
20 stars 20 forks source link

Multi instances clobber each other #44

Open rizowski opened 5 years ago

rizowski commented 5 years ago

If you create multiple instances with bulk enabled and using two different accounts some logs will not make it to loggly.

Looking through the code, it looks like there are singletons that are created as soon as the module is required under common.js. It would seem there is a bug around how that state is managed when there are two instances manipulating a single array of log messages.

whtswrng commented 3 years ago

Thank you for reporting this issue. We are now tracking this issue internally as LOG-12016.