mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
wallet: do not log by default if we're not asked to log to console
This means monero-wallet-rpc still does, but the user level program does not.
This commit is contained in:
parent
8a7b3ff138
commit
62c8c07c47
1 changed files with 4 additions and 0 deletions
|
@ -185,6 +185,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 a new issue