Added logger to output to stdout