Adding some debug logging for crashes during delete.
Logs back in after session termination.