aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2014-10-29 18:55:53 -0700
committerMatt Corallo <git@bluematt.me>2014-10-29 19:10:00 -0700
commiteadcd0c802fecce1486cc5be4740e078292facff (patch)
tree62fcfe17889e4c585336d0ffffa14ab1ea9ac69e /src/init.cpp
parent723c7526368badda15df8ac1ffc047a0ab2e384a (diff)
downloadbitcoin-eadcd0c802fecce1486cc5be4740e078292facff.tar.xz
Print parameter interactions to console, too
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/init.cpp b/src/init.cpp
index d928094bba..3fd08ce006 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -548,6 +548,10 @@ bool AppInit2(boost::thread_group& threadGroup)
#endif
// ********************************************************* Step 2: parameter interactions
+ // Set this early so that parameter interactions go to console
+ fPrintToConsole = GetBoolArg("-printtoconsole", false);
+ fLogTimestamps = GetBoolArg("-logtimestamps", true);
+ fLogIPs = GetBoolArg("-logips", false);
if (mapArgs.count("-bind") || mapArgs.count("-whitebind")) {
// when specifying an explicit binding address, you want to listen on it
@@ -641,9 +645,6 @@ bool AppInit2(boost::thread_group& threadGroup)
nScriptCheckThreads = MAX_SCRIPTCHECK_THREADS;
fServer = GetBoolArg("-server", false);
- fPrintToConsole = GetBoolArg("-printtoconsole", false);
- fLogTimestamps = GetBoolArg("-logtimestamps", true);
- fLogIPs = GetBoolArg("-logips", false);
#ifdef ENABLE_WALLET
bool fDisableWallet = GetBoolArg("-disablewallet", false);
#endif