add log to delivery_session and delivery_task