Add logging for hash verification and registration

Visual Studio found a few issues in the wild related to hash verification and registration but need additional data to root cause the issues.