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

@@ -22,9 +22,6 @@
namespace ripple {
//SETUP_LOG (InboundLedger)
template <> char const* LogPartition::getPartitionName <InboundLedger> () { return "InLedger"; }
enum
{
// millisecond for each ledger timeout
@@ -40,7 +37,7 @@ enum
InboundLedger::InboundLedger (uint256 const& hash, std::uint32_t seq, fcReason reason,
clock_type& clock)
: PeerSet (hash, ledgerAcquireTimeoutMillis, false, clock,
LogPartition::getJournal <InboundLedger> ())
deprecatedLogs().journal("InboundLedger"))
, mHaveBase (false)
, mHaveState (false)
, mHaveTransactions (false)