diff options
author | luigi1111 <luigi1111w@gmail.com> | 2018-06-20 14:52:55 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2018-06-20 14:52:55 -0500 |
commit | 9a3712541e2bcfc974a60b09c39003cfd189dbec (patch) | |
tree | 8b780ee3c3846a7a1cad5ffeaacb1c97c9f520fc /src/wallet | |
parent | Merge pull request #3938 (diff) | |
parent | wallet: do not log by default if we're not asked to log to console (diff) | |
download | monero-9a3712541e2bcfc974a60b09c39003cfd189dbec.tar.xz |
Merge pull request #3939
62c8c07 wallet: do not log by default if we're not asked to log to console (moneromooo-monero)
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/wallet_args.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet/wallet_args.cpp b/src/wallet/wallet_args.cpp index 91aad9c6e..a629eb506 100644 --- a/src/wallet/wallet_args.cpp +++ b/src/wallet/wallet_args.cpp @@ -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; |