Added template for log.