Added log deletion