Skip to content

Commit c6cf8f6

Browse files
Refactor: Adjust log level for hash mismatch in analytics_windows
I changed a LogVerbose call to LogDebug in `VerifyAndLoadAnalyticsLibrary` within `analytics/src/analytics_windows.cc`. The log message for a hash size mismatch when iterating through allowed hashes is now logged at Debug level instead of Verbose.
1 parent d4a1ab7 commit c6cf8f6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

analytics/src/analytics_windows.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -253,10 +253,10 @@ HMODULE VerifyAndLoadAnalyticsLibrary(
253253
bool hash_matched = false;
254254
for (const auto& expected_hash : allowed_hashes) {
255255
if (calculated_hash.size() != expected_hash.size()) {
256-
LogVerbose(LOG_TAG
257-
"Hash size mismatch for Analytics DLL. Expected: %zu, "
258-
"Calculated: %zu. Trying next allowed hash.",
259-
expected_hash.size(), calculated_hash.size());
256+
LogDebug(LOG_TAG
257+
"Hash size mismatch for Analytics DLL. Expected: %zu, "
258+
"Calculated: %zu. Trying next allowed hash.",
259+
expected_hash.size(), calculated_hash.size());
260260
continue;
261261
}
262262
if (memcmp(calculated_hash.data(), expected_hash.data(),

0 commit comments

Comments
 (0)