Logging responses and commands during elevated process