save log to the bucket