add deletion of logs