Skip to content

Commit

Permalink
change log level from warn to info
Browse files Browse the repository at this point in the history
Signed-off-by: fzhedu <fzhedu@gmail.com>
  • Loading branch information
fzhedu committed Nov 8, 2022
1 parent 6506389 commit 7159470
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions be/src/serde/protobuf_serde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ void EncodeContext::_adjust(const int col_id) {
_column_encode_level[col_id] = 0;
}
if (old_level != _column_encode_level[col_id] || _session_encode_level < -1) {
LOG(WARNING) << "Old encode level " << old_level << " is changed to " << _column_encode_level[col_id]
<< " because the first " << EncodeSamplingNum << " of " << _frequency << " in total " << _times
<< " chunks' compression ratio is " << _encoded_bytes[col_id] * 1.0 / _raw_bytes[col_id]
<< " higher than limit " << EncodeRatioLimit;
LOG(INFO) << "Old encode level " << old_level << " is changed to " << _column_encode_level[col_id]
<< " because the first " << EncodeSamplingNum << " of " << _frequency << " in total " << _times
<< " chunks' compression ratio is " << _encoded_bytes[col_id] * 1.0 / _raw_bytes[col_id]
<< " higher than limit " << EncodeRatioLimit;
}
_encoded_bytes[col_id] = 0;
_raw_bytes[col_id] = 0;
Expand Down

0 comments on commit 7159470

Please sign in to comment.