aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-22 14:14:58 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-22 14:14:58 +0100
commitf35afe62a4ae49e27f2e67c14918bdee133a7b83 (patch)
treeacebde67702a23ff14d050d6a0f9f4a431bce607 /contrib
parentMerge pull request #2496 (diff)
downloadmonero-f35afe62a4ae49e27f2e67c14918bdee133a7b83.tar.xz
epee: factor log level/categories setting
Diffstat (limited to 'contrib')
-rw-r--r--contrib/epee/src/mlog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/epee/src/mlog.cpp b/contrib/epee/src/mlog.cpp
index a3f38e677..f7efbe39d 100644
--- a/contrib/epee/src/mlog.cpp
+++ b/contrib/epee/src/mlog.cpp
@@ -152,8 +152,7 @@ void mlog_set_categories(const char *categories)
void mlog_set_log_level(int level)
{
const char *categories = get_default_categories(level);
- el::Loggers::setCategories(categories);
- MLOG_LOG("New log categories: " << categories);
+ mlog_set_categories(categories);
}
void mlog_set_log(const char *log)