setup log to stdout