diff options
| author | R E Broadley <[email protected]> | 2014-02-26 17:55:04 -0800 |
|---|---|---|
| committer | R E Broadley <[email protected]> | 2014-07-04 09:38:44 +0700 |
| commit | 2e36866fecb7420cd73047a7aa762a6e5e225695 (patch) | |
| tree | 8722a5d841711574d6cd1b3106fa2e67935fbd85 /src/init.cpp | |
| parent | Merge pull request #4448 from laanwj/2014_07_qt_payment_rq_logging (diff) | |
| download | discoin-2e36866fecb7420cd73047a7aa762a6e5e225695.tar.xz discoin-2e36866fecb7420cd73047a7aa762a6e5e225695.zip | |
Show nodeid instead of addresses (for anonymity) unless otherwise requested.
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index da13218a9..397ce6e06 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -288,6 +288,7 @@ std::string HelpMessage(HelpMessageMode mode) strUsage += " -gen " + _("Generate coins (default: 0)") + "\n"; strUsage += " -genproclimit=<n> " + _("Set the processor limit for when generation is on (-1 = unlimited, default: -1)") + "\n"; strUsage += " -help-debug " + _("Show all debugging options (usage: --help -help-debug)") + "\n"; + strUsage += " -logips " + _("Include IP addresses in debug output (default: 0)") + "\n"; strUsage += " -logtimestamps " + _("Prepend debug output with timestamp (default: 1)") + "\n"; if (GetBoolArg("-help-debug", false)) { @@ -585,6 +586,7 @@ bool AppInit2(boost::thread_group& threadGroup) fServer = GetBoolArg("-server", false); fPrintToConsole = GetBoolArg("-printtoconsole", false); fLogTimestamps = GetBoolArg("-logtimestamps", true); + fLogIPs = GetBoolArg("-logips", false); setvbuf(stdout, NULL, _IOLBF, 0); #ifdef ENABLE_WALLET bool fDisableWallet = GetBoolArg("-disablewallet", false); |