Thursday, 8 June 2017

Local logging vs. using remote service

I have a web app, with node backend. I'm finishing the backend now and I was wondering what should I use for logging. Particularly, whether should I log locally or to some remote location, something like Loggly for example. The reason why I want to go for remote is the ease of use - I can view all logs from the browser, instead of a terminal. I have too much stuff on my mind to implement a web interface myself. I just have one doubt, if each time I log something, I have to send a request to their server, won't this put much more load on my server than local logging? Or is it completely negligible? Also what if network failed? Should I also set up local logging, in case connection fails?



via Maciej Krawczyk

No comments:

Post a Comment