tools: set requested log level

also move a couple logs from INFO to DEBUG
This commit is contained in:
moneromooo-monero 2017-02-12 18:35:54 +00:00
parent cb54eeaa31
commit 142e5e1eb4
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
3 changed files with 4 additions and 2 deletions

View file

@ -126,6 +126,7 @@ int main(int argc, char* argv[])
block_stop = command_line::get_arg(vm, arg_block_stop);
mlog_configure("monero-blockchain-export", true);
mlog_set_log(std::string(std::to_string(log_level) + ",bcutil:INFO").c_str());
LOG_PRINT_L0("Starting...");
bool opt_testnet = command_line::get_arg(vm, arg_testnet_on);