Add log snippet