improve logging in nodejs server