mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 10:37:37 -07:00
Merge pull request #3939
62c8c07
wallet: do not log by default if we're not asked to log to console (moneromooo-monero)
This commit is contained in:
commit
9a3712541e
@ -187,6 +187,10 @@ namespace wallet_args
|
|||||||
{
|
{
|
||||||
mlog_set_log(command_line::get_arg(vm, arg_log_level).c_str());
|
mlog_set_log(command_line::get_arg(vm, arg_log_level).c_str());
|
||||||
}
|
}
|
||||||
|
else if (!log_to_console)
|
||||||
|
{
|
||||||
|
mlog_set_categories("");
|
||||||
|
}
|
||||||
|
|
||||||
if (notice)
|
if (notice)
|
||||||
Print(print) << notice << ENDL;
|
Print(print) << notice << ENDL;
|
||||||
|
Loading…
Reference in New Issue
Block a user