logdna / nodejs

Node.js library for logging to LogDNA
MIT License
74 stars 66 forks source link

HTTP Exception Handling #61

Closed vilyapilya closed 5 years ago

vilyapilya commented 5 years ago

If logger receives an unsuccessful response, it will try to reconnect with the server 3 times. If it still fails, it will save the buffer on the logger instance and when the next time when a new message is pushed into buffer, it will merge the current buffer with the unsend content of the previous buffer. When it merges the unsent info with the current buffer, it cleans the temp holder for the unsent info. The holder for the unsent info has a limit to grow

smusali commented 5 years ago

@vilyapilya, there are merge conflicts due to the previous PR #60 merge. Can you fix/resolve them? Thanks in advance!