Changing the console.log usage so it works as expected in testling.