mirror of
https://github.com/monero-project/monero.git
synced 2024-12-27 23:29:25 -05:00
Increase the log level for the info about log levels
This commit is contained in:
parent
beee286c7b
commit
4f7bce6d20
@ -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 New Issue
Block a user