diff --git a/src/cpp/ripple/Wallet.cpp b/src/cpp/ripple/Wallet.cpp index 244536769..ed017304f 100644 --- a/src/cpp/ripple/Wallet.cpp +++ b/src/cpp/ripple/Wallet.cpp @@ -30,7 +30,8 @@ void Wallet::start() throw std::runtime_error("unable to retrieve new node identity."); } - std::cerr << "NodeIdentity: " << mNodePublicKey.humanNodePublic() << std::endl; + if (!theConfig.QUIET) + std::cerr << "NodeIdentity: " << mNodePublicKey.humanNodePublic() << std::endl; theApp->getUNL().start(); } @@ -71,7 +72,8 @@ bool Wallet::nodeIdentityLoad() // Create and store a network identity. bool Wallet::nodeIdentityCreate() { - std::cerr << "NodeIdentity: Creating." << std::endl; + if (!theConfig.QUIET) + std::cerr << "NodeIdentity: Creating." << std::endl; // // Generate the public and private key @@ -116,7 +118,8 @@ bool Wallet::nodeIdentityCreate() { % sqlEscape(strDh1024))); // XXX Check error result. - std::cerr << "NodeIdentity: Created." << std::endl; + if (!theConfig.QUIET) + std::cerr << "NodeIdentity: Created." << std::endl; return true; } diff --git a/src/cpp/ripple/main.cpp b/src/cpp/ripple/main.cpp index bf187ad80..4faab8102 100644 --- a/src/cpp/ripple/main.cpp +++ b/src/cpp/ripple/main.cpp @@ -37,7 +37,7 @@ void startServer() const Json::Value& jvCommand = theConfig.RPC_STARTUP[i]; if (!theConfig.QUIET) - cerr << "Startup RPC: " << jvCommand << endl; + std::cerr << "Startup RPC: " << jvCommand << std::endl; RPCHandler rhHandler(&theApp->getOPs());