Write server.js output in console + file