diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-10-30 16:58:00 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-10-30 17:03:30 +0100 |
commit | d5e5d1412e3f1571b505b70df534c2f8db0729ac (patch) | |
tree | 052a62b6c0ce58970b1b14e96a3c5b782fec05ed | |
parent | c1def0df51678d6303d8f7e75798d2330bbd61a2 (diff) | |
parent | eadcd0c802fecce1486cc5be4740e078292facff (diff) |
Merge pull request #5172
eadcd0c Print parameter interactions to console, too (Matt Corallo)
-rw-r--r-- | src/init.cpp | 7 |
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 |