Finalized additional logging for deadlock analysis