aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_utilities/blockchain_export.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-12 18:35:54 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-12 18:48:39 +0000
commit142e5e1eb47812c04a7623de7a8821726a1f1789 (patch)
treea82b9711cff14e29e7470f7c8fc19fd39af8abcc /src/blockchain_utilities/blockchain_export.cpp
parentMerge pull request #1698 (diff)
downloadmonero-142e5e1eb47812c04a7623de7a8821726a1f1789.tar.xz
tools: set requested log level
also move a couple logs from INFO to DEBUG
Diffstat (limited to 'src/blockchain_utilities/blockchain_export.cpp')
-rw-r--r--src/blockchain_utilities/blockchain_export.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/blockchain_utilities/blockchain_export.cpp b/src/blockchain_utilities/blockchain_export.cpp
index b4411fbba..13016b11b 100644
--- a/src/blockchain_utilities/blockchain_export.cpp
+++ b/src/blockchain_utilities/blockchain_export.cpp
@@ -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);