aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-02-02 21:26:56 +0200
committerRiccardo Spagni <ric@spagni.net>2017-02-02 21:26:56 +0200
commit614400e5af29081bdb0311bb3a8d0734a22d8214 (patch)
tree66c9ba7a3d6be9a5ae0e666bfe67209d4743c940 /src/wallet/wallet_rpc_server.cpp
parentMerge pull request #1642 (diff)
parentwallet_rpc_server: fix logs going to the wrong file (diff)
downloadmonero-614400e5af29081bdb0311bb3a8d0734a22d8214.tar.xz
Merge pull request #1643
69d2ad39 wallet_rpc_server: fix logs going to the wrong file (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet_rpc_server.cpp')
-rw-r--r--src/wallet/wallet_rpc_server.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp
index d35e51068..dcf8f8e6d 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
{