Finishing logging to stdout and fixing newrelic integration