Log more detailed diagnostics in the log file during completion errors.