aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoind.cpp
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2015-11-26 14:03:27 +0100
committerJonas Schnelli <dev@jonasschnelli.ch>2015-11-27 13:26:28 +0100
commita46f87f0c17323d8853d95f8ea99f8fb0f3bda1a (patch)
tree5a2ae26880b3b406b566ee0a46c75862ddd63485 /src/bitcoind.cpp
parentdf661476133364956a188f892de97974e69f8d6c (diff)
Initialize logging before we do parameter interaction
Diffstat (limited to 'src/bitcoind.cpp')
-rw-r--r--src/bitcoind.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bitcoind.cpp b/src/bitcoind.cpp
index f1875731d5..4cee2d3cf0 100644
--- a/src/bitcoind.cpp
+++ b/src/bitcoind.cpp
@@ -151,6 +151,8 @@ bool AppInit(int argc, char* argv[])
#endif
SoftSetBoolArg("-server", true);
+ // Set this early so that parameter interactions go to console
+ InitLogging();
InitParameterInteraction();
fRet = AppInit2(threadGroup, scheduler);
}