Logging - Updates to prevent logging twice in the event an exception
is thrown when the log level is at debug.