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:
luigi1111 2018-06-20 14:52:55 -05:00
commit 9a3712541e
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -187,6 +187,10 @@ namespace wallet_args
{
mlog_set_log(command_line::get_arg(vm, arg_log_level).c_str());
}
else if (!log_to_console)
{
mlog_set_categories("");
}
if (notice)
Print(print) << notice << ENDL;