refactor log_view killing; untested