mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, [^<]+ << "[^"]+" << [^<]+\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), ([^<]+) << "([^"]+)" << ([^<]+)\);/\1_FORMATTED(\2, "{}\4{}", \3, \5);/'
This commit is contained in:
parent
57f6dc66d3
commit
d6bc4d2bd0
@ -776,7 +776,7 @@ void InterpreterSelectQuery::executeImpl(TPipeline & pipeline, const BlockInputS
|
||||
/** Read the data from Storage. from_stage - to what stage the request was completed in Storage. */
|
||||
executeFetchColumns(from_stage, pipeline, expressions.prewhere_info, expressions.columns_to_remove_after_prewhere, save_context_and_storage);
|
||||
|
||||
LOG_TRACE(log, QueryProcessingStage::toString(from_stage) << " -> " << QueryProcessingStage::toString(options.to_stage));
|
||||
LOG_TRACE_FORMATTED(log, "{} -> {}", QueryProcessingStage::toString(from_stage), QueryProcessingStage::toString(options.to_stage));
|
||||
}
|
||||
|
||||
if (options.to_stage > QueryProcessingStage::FetchColumns)
|
||||
|
@ -244,7 +244,7 @@ void ReadBufferFromKafkaConsumer::resetToLastCommitted(const char * msg)
|
||||
}
|
||||
auto committed_offset = consumer->get_offsets_committed(consumer->get_assignment());
|
||||
consumer->assign(committed_offset);
|
||||
LOG_TRACE(log, msg << " Returned to committed position: " << committed_offset);
|
||||
LOG_TRACE_FORMATTED(log, "{} Returned to committed position: {}", msg, committed_offset);
|
||||
}
|
||||
|
||||
/// Do commit messages implicitly after we processed the previous batch.
|
||||
|
Loading…
Reference in New Issue
Block a user