Tuesday, June 25, 2013

Display remote Node.JS service logs on Chrome Console


In recent years, we got plenty of PaaS services which provide very simple and easy way to deploy our Node.JS services.

Usually after deploying my service, I have to use the command line tools or visit some very slow web pages to access the server logs. It's really waste my time.

But today, I want to introduce a tool, Chrome Logger, it provides a way to display server logs into Chrome Developer Tool's Console.


Install it, then visit my sample project on Heroku to see what's going on.
Update 06/25 00:40:
  • If you're using ExpressJS, you can simple log your error like following error handling middleware
Update 06/25 01:50:

Pull requests sent : chromelogger & express-chrome-logger.

Good luck to myself.


No comments:

Post a Comment