Setup log.