From 9ac4e4c7fb53f801859037f2291566b3c58b76a1 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Tue, 5 Nov 2019 22:31:07 +0300 Subject: [PATCH] Little better #7600 --- dbms/src/Storages/Distributed/DirectoryMonitor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dbms/src/Storages/Distributed/DirectoryMonitor.cpp b/dbms/src/Storages/Distributed/DirectoryMonitor.cpp index 00129757591..a9b51aebdd4 100644 --- a/dbms/src/Storages/Distributed/DirectoryMonitor.cpp +++ b/dbms/src/Storages/Distributed/DirectoryMonitor.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include @@ -360,7 +361,7 @@ struct StorageDistributedDirectoryMonitor::Batch String tmp_file{parent.current_batch_file_path + ".tmp"}; if (Poco::File{tmp_file}.exists()) - LOG_ERROR(parent.log, "Temporary file `" << tmp_file << "` exists. Unclean shutdown?"); + LOG_ERROR(parent.log, "Temporary file " << backQuote(tmp_file) << " exists. Unclean shutdown?"); { WriteBufferFromFile out{tmp_file, O_WRONLY | O_TRUNC | O_CREAT};