From befcd9e4969f45d7307131767f932f203c846ffb Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Fri, 30 Jul 2021 10:29:24 +0200 Subject: [PATCH] feat(http-storage): Log translation to pseudo-SHA256 key --- src/storage/secondary/HttpStorage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/storage/secondary/HttpStorage.cpp b/src/storage/secondary/HttpStorage.cpp index 2867e1b83..3aa5e58e8 100644 --- a/src/storage/secondary/HttpStorage.cpp +++ b/src/storage/secondary/HttpStorage.cpp @@ -243,6 +243,7 @@ HttpStorageBackend::get_entry_path(const Digest& key) const static_assert(Digest::size() == 20, "Update below if digest size changes"); std::string hex_digits = Util::format_base16(key.bytes(), key.size()); hex_digits.append(hex_digits.data(), sha256_hex_size - hex_digits.size()); + LOG("Translated key {} to Bazel layout ac/{}", key.to_string(), hex_digits); return FMT("{}ac/{}", m_url_path, hex_digits); } -- 2.47.2