Improve Journal logging framework:

* Allow partition log levels to be adjusted
* Cleanups
This commit is contained in:
Howard Hinnant
2014-06-12 20:49:37 -07:00
committed by Nik Bougalis
parent 488a44b88e
commit 23dc08c925
107 changed files with 751 additions and 1553 deletions

View File

@@ -39,7 +39,7 @@ void LocalCredentials::start ()
}
if (!getConfig ().QUIET)
Log::out() << "NodeIdentity: " << mNodePublicKey.humanNodePublic ();
std::cerr << "NodeIdentity: " << mNodePublicKey.humanNodePublic () << std::endl;
getApp().getUNL ().start ();
}
@@ -78,7 +78,7 @@ bool LocalCredentials::nodeIdentityLoad ()
bool LocalCredentials::nodeIdentityCreate ()
{
if (!getConfig ().QUIET)
Log::out() << "NodeIdentity: Creating.";
std::cerr << "NodeIdentity: Creating." << std::endl;
//
// Generate the public and private key
@@ -115,7 +115,7 @@ bool LocalCredentials::nodeIdentityCreate ()
// XXX Check error result.
if (!getConfig ().QUIET)
Log::out() << "NodeIdentity: Created.";
std::cerr << "NodeIdentity: Created." << std::endl;
return true;
}