Adding log existence wait