mirror of
https://github.com/monero-project/monero.git
synced 2025-08-06 20:14:29 -04:00
wallet_rpc_server: fix logs going to the wrong file
This commit is contained in:
parent
4629ead8c5
commit
69d2ad3967
3 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue