From 02097c87ebca12c34329acab89899a633db1d8ba Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sat, 4 Mar 2017 18:29:18 +0000 Subject: core: print the "new update found" message in cyan, for visibility --- src/cryptonote_core/cryptonote_core.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index e0484d063..9c5fae4ef 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -1128,7 +1128,7 @@ namespace cryptonote return true; std::string url = tools::get_update_url(software, subdir, buildtag, version, true); - MGINFO("Version " << version << " of " << software << " for " << buildtag << " is available: " << url << ", SHA256 hash " << hash); + MCLOG_CYAN(el::Level::Info, "global", "Version " << version << " of " << software << " for " << buildtag << " is available: " << url << ", SHA256 hash " << hash); if (check_updates_level == UPDATES_NOTIFY) return true; @@ -1168,7 +1168,7 @@ namespace cryptonote { MCERROR("updates", "Download from " << uri << " does not match the expected hash"); } - MGINFO("New version downloaded to " << path); + MCLOG_CYAN(el::Level::Info, "updates", "New version downloaded to " << path); } else { -- cgit v1.2.3