Added logging to STDOUT