add log sample