From d6b12e65be8a52dcdedd2c92ee1541043559bc11 Mon Sep 17 00:00:00 2001 From: David Boucher Date: Thu, 25 Jul 2024 12:30:08 +0200 Subject: [PATCH] enh(broker/unified_sql): A log in HostStatus handling completed with host_id --- broker/unified_sql/src/stream_sql.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/broker/unified_sql/src/stream_sql.cc b/broker/unified_sql/src/stream_sql.cc index a519d57463f..b15f18b0028 100644 --- a/broker/unified_sql/src/stream_sql.cc +++ b/broker/unified_sql/src/stream_sql.cc @@ -2358,8 +2358,8 @@ void stream::_process_pb_host_status(const std::shared_ptr& d) { auto& hscr = h->obj(); SPDLOG_LOGGER_DEBUG(_logger_sql, - "unified_sql: pb host status check result output: <<{}>>", - hscr.output()); + "unified_sql: pb host {} status check result output: <<{}>>", + hscr.host_id(), hscr.output()); SPDLOG_LOGGER_DEBUG( _logger_sql, "unified_sql: pb host status check result perfdata: <<{}>>", hscr.perfdata());