Small LogAPI changes for retry