core: print the "new update found" message in cyan, for visibility

This commit is contained in:
moneromooo-monero 2017-03-04 18:29:18 +00:00
parent 749ebacebd
commit 02097c87eb
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 2 additions and 2 deletions

View File

@ -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
{