This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch branch-3.0 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push: new 9e177c0de80 branch-3.0: [opt](log) change lzo decompress log to debug level (#43582) 9e177c0de80 is described below commit 9e177c0de80ac0a0800b80cb4be72a6170a9ff0c Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Mon Nov 11 16:23:34 2024 +0800 branch-3.0: [opt](log) change lzo decompress log to debug level (#43582) Cherry-picked from #43540 Co-authored-by: Mingyu Chen (Rayner) <morning...@163.com> Co-authored-by: morningman <yun...@selectdb.com> --- be/src/exec/lzo_decompressor.cpp | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/be/src/exec/lzo_decompressor.cpp b/be/src/exec/lzo_decompressor.cpp index c8cf0499508..b075509202b 100644 --- a/be/src/exec/lzo_decompressor.cpp +++ b/be/src/exec/lzo_decompressor.cpp @@ -15,6 +15,7 @@ // specific language governing permissions and limitations // under the License. +#include "common/logging.h" #include "exec/decompressor.h" #include "olap/utils.h" #include "orc/Exceptions.hh" @@ -197,11 +198,11 @@ Status LzopDecompressor::decompress(uint8_t* input, size_t input_len, size_t* in *decompressed_len = uncompressed_size; *input_bytes_read += ptr - block_start; - LOG(INFO) << "finished decompress lzo block." - << " compressed_size: " << compressed_size - << " decompressed_len: " << *decompressed_len - << " input_bytes_read: " << *input_bytes_read - << " next_uncompressed_size: " << next_uncompressed_size; + VLOG_DEBUG << "finished decompress lzo block." + << " compressed_size: " << compressed_size + << " decompressed_len: " << *decompressed_len + << " input_bytes_read: " << *input_bytes_read + << " next_uncompressed_size: " << next_uncompressed_size; return Status::OK(); } @@ -222,9 +223,9 @@ Status LzopDecompressor::decompress(uint8_t* input, size_t input_len, size_t* in Status LzopDecompressor::parse_header_info(uint8_t* input, size_t input_len, size_t* input_bytes_read, size_t* more_input_bytes) { if (input_len < MIN_HEADER_SIZE) { - LOG(INFO) << "highly recommanded that Lzo header size is larger than " << MIN_HEADER_SIZE - << ", or parsing header info may failed." - << " only given: " << input_len; + VLOG_NOTICE << "highly recommanded that Lzo header size is larger than " << MIN_HEADER_SIZE + << ", or parsing header info may failed." + << " only given: " << input_len; *more_input_bytes = MIN_HEADER_SIZE - input_len; return Status::OK(); } @@ -362,7 +363,7 @@ Status LzopDecompressor::parse_header_info(uint8_t* input, size_t input_len, *input_bytes_read = _header_info.header_size; _is_header_loaded = true; - LOG(INFO) << debug_info(); + VLOG_DEBUG << debug_info(); return Status::OK(); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org