From 4bb3381bc997f29bfbb412e75290c8036c843660 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Tue, 26 May 2020 00:53:29 +0300 Subject: [PATCH] Fix build after merge --- src/Storages/Kafka/ReadBufferFromKafkaConsumer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Storages/Kafka/ReadBufferFromKafkaConsumer.cpp b/src/Storages/Kafka/ReadBufferFromKafkaConsumer.cpp index 2db2e59cb7e..31a9f55350d 100644 --- a/src/Storages/Kafka/ReadBufferFromKafkaConsumer.cpp +++ b/src/Storages/Kafka/ReadBufferFromKafkaConsumer.cpp @@ -93,14 +93,14 @@ ReadBufferFromKafkaConsumer::~ReadBufferFromKafkaConsumer() } catch (const cppkafka::HandleException & e) { - LOG_ERROR(log, "Error during unsubscribe: " << e.what()); + LOG_ERROR(log, "Error during unsubscribe: {}", e.what()); } drain(); } } catch (const cppkafka::HandleException & e) { - LOG_ERROR(log, "Error while destructing consumer: " << e.what()); + LOG_ERROR(log, "Error while destructing consumer: {}", e.what()); } } @@ -130,7 +130,7 @@ void ReadBufferFromKafkaConsumer::drain() } else { - LOG_ERROR(log, "Error during draining: " << error); + LOG_ERROR(log, "Error during draining: {}", error); } }