Creating delete operation for logs