Implemented log delete functionality after log upload.