Added LogTap to participate in logging and refectored exception handling