aboutsummaryrefslogtreecommitdiff
path: root/src/bench
diff options
context:
space:
mode:
authorJim Posen <jimpo@coinbase.com>2018-04-20 01:11:44 -0700
committerJim Posen <jimpo@coinbase.com>2018-04-29 14:37:19 -0700
commit8c2d695c4a45bdd9378c7970b0fcba6e1efc01f9 (patch)
tree43b04976c81df286c18c22e67d077bed78fcd087 /src/bench
parent8e7b961388920144993d0bd56d93f89e5c60fbff (diff)
downloadbitcoin-8c2d695c4a45bdd9378c7970b0fcba6e1efc01f9.tar.xz
util: Store debug log file path in BCLog::Logger member.
This breaks the cyclic between logging and util.
Diffstat (limited to 'src/bench')
-rw-r--r--src/bench/bench_bitcoin.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bench/bench_bitcoin.cpp b/src/bench/bench_bitcoin.cpp
index c1fbeb8d1a..c1f3339830 100644
--- a/src/bench/bench_bitcoin.cpp
+++ b/src/bench/bench_bitcoin.cpp
@@ -46,7 +46,6 @@ main(int argc, char** argv)
RandomInit();
ECC_Start();
SetupEnvironment();
- g_logger->m_print_to_file = false; // don't want to write to debug.log file
int64_t evaluations = gArgs.GetArg("-evals", DEFAULT_BENCH_EVALUATIONS);
std::string regex_filter = gArgs.GetArg("-filter", DEFAULT_BENCH_FILTER);