From 9c4b60e15b1abcf0801e89d82d4ca02d7f45cf20 Mon Sep 17 00:00:00 2001 From: Marcus Holland-Moritz Date: Mon, 11 Sep 2023 16:01:53 +0200 Subject: [PATCH] Output metadata size in verbose mode --- src/dwarfs/scanner.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dwarfs/scanner.cpp b/src/dwarfs/scanner.cpp index 06fb91c3d..0e01277a2 100644 --- a/src/dwarfs/scanner.cpp +++ b/src/dwarfs/scanner.cpp @@ -864,6 +864,8 @@ void scanner_::scan( auto [schema, data] = metadata_v2::freeze(mv2); + LOG_VERBOSE << "uncompressed metadata size: " << size_with_unit(data.size()); + fsw.write_metadata_v2_schema(std::make_shared(std::move(schema))); fsw.write_metadata_v2(std::make_shared(std::move(data)));