mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 10:01:02 +00:00
Merge pull request #1802
4f7bce6d
Increase the log level for the info about log levels (Nano Akron)
This commit is contained in:
commit
6aedd3d82b
1 changed files with 2 additions and 2 deletions
|
@ -142,7 +142,7 @@ void mlog_configure(const std::string &filename_base, bool console)
|
||||||
void mlog_set_categories(const char *categories)
|
void mlog_set_categories(const char *categories)
|
||||||
{
|
{
|
||||||
el::Loggers::setCategories(categories);
|
el::Loggers::setCategories(categories);
|
||||||
MGINFO("New log categories: " << categories);
|
MDEBUG("New log categories: " << categories);
|
||||||
}
|
}
|
||||||
|
|
||||||
// maps epee style log level to new logging system
|
// 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);
|
const char *categories = get_default_categories(level);
|
||||||
el::Loggers::setCategories(categories);
|
el::Loggers::setCategories(categories);
|
||||||
MGINFO("New log categories: " << categories);
|
MDEBUG("New log categories: " << categories);
|
||||||
}
|
}
|
||||||
|
|
||||||
void mlog_set_log(const char *log)
|
void mlog_set_log(const char *log)
|
||||||
|
|
Loading…
Reference in a new issue