From f419509029391031ed4782c7f5d5c943dc381596 Mon Sep 17 00:00:00 2001 From: Kunoi Sayami <46131041+KunoiSayami@users.noreply.github.com> Date: Fri, 20 Nov 2020 23:11:23 +0800 Subject: [PATCH] Add missing log part (#30) --- telegram-bot-api/HttpServer.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/telegram-bot-api/HttpServer.h b/telegram-bot-api/HttpServer.h index 3e10bc9..18a5b06 100644 --- a/telegram-bot-api/HttpServer.h +++ b/telegram-bot-api/HttpServer.h @@ -45,9 +45,10 @@ class HttpServer : public td::TcpListener::Callback { return; } flood_control_.add_event(static_cast(now)); - LOG(INFO) << "Create tcp listener " << td::tag("port", port_); - listener_ = td::create_actor(PSLICE() << "TcpListener" << td::tag("port", port_), port_, - actor_shared(this, 1), ip_address_); + LOG(INFO) << "Create tcp listener " << td::tag("address", ip_address_) << td::tag("port", port_); + listener_ = td::create_actor( + PSLICE() << "TcpListener" << td::tag("address", ip_address_) << td::tag("port", port_), port_, + actor_shared(this, 1), ip_address_); } void hangup_shared() override {