Make console.log log to stdout and introduce console.error