aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/src/mlog.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-12 11:45:22 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-12 11:45:22 +0000
commit3b6839cc96b6dbcf28d76dfad980587fba05047b (patch)
treec7bf21376a995a62d3dbb69a36d6e81d363f09a9 /contrib/epee/src/mlog.cpp
parentrpc: fix daemon mixed style set_log 2,category:level (diff)
downloadmonero-3b6839cc96b6dbcf28d76dfad980587fba05047b.tar.xz
mlog: move log level changes to global level
Makes it more likely to show up
Diffstat (limited to '')
-rw-r--r--contrib/epee/src/mlog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/epee/src/mlog.cpp b/contrib/epee/src/mlog.cpp
index 18c3c3e98..c212456f6 100644
--- a/contrib/epee/src/mlog.cpp
+++ b/contrib/epee/src/mlog.cpp
@@ -142,7 +142,7 @@ void mlog_configure(const std::string &filename_base, bool console)
void mlog_set_categories(const char *categories)
{
el::Loggers::setCategories(categories);
- MINFO("New log categories: " << categories);
+ MGINFO("New log categories: " << categories);
}
// maps epee style log level to new logging system
@@ -150,7 +150,7 @@ void mlog_set_log_level(int level)
{
const char *categories = get_default_categories(level);
el::Loggers::setCategories(categories);
- MINFO("New log categories: " << categories);
+ MGINFO("New log categories: " << categories);
}
void mlog_set_log(const char *log)