From: Peter Iannucci Date: Fri, 11 Oct 2013 17:04:13 +0000 (-0400) Subject: Reduced verbosity X-Git-Url: http://xvm.mit.edu/gitweb/invirt/third/libt4.git/commitdiff_plain/0e191339227d5d05e83e900242411b056457d9a3 Reduced verbosity --- diff --git a/rpc/rpc.cc b/rpc/rpc.cc index c417f40..471a5da 100644 --- a/rpc/rpc.cc +++ b/rpc/rpc.cc @@ -341,7 +341,7 @@ rpcs::rpcs(in_port_t p1, size_t count) { set_rand_seed(); nonce_ = (unsigned int)random(); - IF_LEVEL(0) LOG("created with nonce " << nonce_); + IF_LEVEL(2) LOG("created with nonce " << nonce_); reg(rpc_const::bind, &rpcs::rpcbind, this); dispatchpool_ = unique_ptr(new ThrPool(6, false)); @@ -479,9 +479,8 @@ void rpcs::dispatch(shared_ptr c, const string & buf) { switch (stat) { case NEW: // new request - if (counting_){ + if (counting_) updatestat(proc); - } rh.ret = (*f)(req, rep); if (rh.ret == rpc_const::unmarshal_args_failure) { @@ -612,7 +611,7 @@ void rpcs::free_reply_window(void) { } int rpcs::rpcbind(unsigned int &r, int) { - IF_LEVEL(0) LOG("called return nonce " << nonce_); + IF_LEVEL(2) LOG("called return nonce " << nonce_); r = nonce_; return 0; }