From 1310aa7f2ceadd28f659bb452e2b2a5b23d629a3 Mon Sep 17 00:00:00 2001 From: levlam Date: Tue, 24 Mar 2020 01:36:43 +0300 Subject: [PATCH] Improve logging. GitOrigin-RevId: d1c9c742981fa37ebe691aa569e8b6a9fc50d3c1 --- td/telegram/MessagesManager.cpp | 2 +- td/telegram/StickersManager.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index afd3646c..8b3c0748 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -11437,7 +11437,7 @@ FullMessageId MessagesManager::on_get_message(MessageInfo &&message_info, bool f MessageId old_message_id = find_old_message_id(dialog_id, message_id); bool need_add_active_live_location = false; - LOG(INFO) << "Found old " << old_message_id << " by " << FullMessageId{dialog_id, message_id}; + LOG(INFO) << "Found temporarily " << old_message_id << " for " << FullMessageId{dialog_id, message_id}; if (old_message_id.is_valid() || old_message_id.is_valid_scheduled()) { Dialog *d = get_dialog(dialog_id); CHECK(d != nullptr); diff --git a/td/telegram/StickersManager.hpp b/td/telegram/StickersManager.hpp index f56cf529..6366811c 100644 --- a/td/telegram/StickersManager.hpp +++ b/td/telegram/StickersManager.hpp @@ -199,7 +199,7 @@ void StickersManager::parse_sticker_set(StickerSet *sticker_set, ParserT &parser parse(access_hash, parser); CHECK(sticker_set->id.get() == sticker_set_id); if (sticker_set->access_hash != access_hash) { - LOG(ERROR) << "Access hash of " << sticker_set_id << " has changed from " << access_hash << " to " + LOG(ERROR) << "Access hash of " << sticker_set->id << " has changed from " << access_hash << " to " << sticker_set->access_hash; }