diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-01-28 11:37:21 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-01-28 11:37:21 +0000 |
commit | 69d2ad3967d30cbb49805040eef2b35b0984b6d1 (patch) | |
tree | 4fca23cd7f61c2872207ea9f3fa02812ced6c5b2 /src/wallet/wallet_rpc_server.cpp | |
parent | Merge pull request #1618 (diff) | |
download | monero-69d2ad3967d30cbb49805040eef2b35b0984b6d1.tar.xz |
wallet_rpc_server: fix logs going to the wrong file
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet_rpc_server.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp index 33e099ceb..6ecc29b6d 100644 --- a/src/wallet/wallet_rpc_server.cpp +++ b/src/wallet/wallet_rpc_server.cpp @@ -1324,16 +1324,14 @@ int main(int argc, char** argv) { argc, argv, "monero-wallet-rpc [--wallet-file=<file>|--generate-from-json=<file>] [--rpc-bind-port=<port>]", desc_params, - po::positional_options_description() + po::positional_options_description(), + true ); if (!vm) { return 1; } - mlog_configure("monero-wallet-rpc.log", true); - mlog_set_log_level(2); - std::unique_ptr<tools::wallet2> wal; try { |