aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-03-04 18:29:18 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-03-05 16:59:36 +0000
commit02097c87ebca12c34329acab89899a633db1d8ba (patch)
tree9842f909a0b0180d25dcdb4ad7f18e7c91ff9fef /src
parentdownload: check available disk space before downloading (diff)
downloadmonero-02097c87ebca12c34329acab89899a633db1d8ba.tar.xz
core: print the "new update found" message in cyan, for visibility
Diffstat (limited to 'src')
-rw-r--r--src/cryptonote_core/cryptonote_core.cpp4
1 files changed, 2 insertions, 2 deletions
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
{