delete log for empty dir