Sets logging to stdout