I have a nodeJS app running on a RPI with Winston as logger. It sends logs to a custom express api, using the built in http transport. However due to some instabilities on the internet connection on the RPI location, it seems that some logs are lost (typically if it tries to send a batch of log when the internet connection is down).
Is there a simple way /configuration to buffer the log until the connection is back ?
New contributor
user26403533 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
4