Fix logspew in DelayedDestruction
authorViswanath Sivakumar <viswanath@fb.com>
Mon, 20 Jul 2015 23:07:03 +0000 (16:07 -0700)
committerfacebook-github-bot-4 <folly-bot@fb.com>
Tue, 21 Jul 2015 23:52:38 +0000 (16:52 -0700)
Summary: This is causing a log of spew in proxygen logs

Reviewed By: @afrind

Differential Revision: D2262006

folly/io/async/DelayedDestruction.h

index 857d9f0f2e082ec98780d24ff9f5b5ad3b10aec3..079046628a7eaf34c9464b9741b242046ece8560 100644 (file)
@@ -51,7 +51,6 @@ class DelayedDestruction : public DelayedDestructionBase {
   virtual void destroy() {
     // If guardCount_ is not 0, just set destroyPending_ to delay
     // actual destruction.
-    VLOG(4) << "DelayedDestruction::destroy()";
     if (getDestructorGuardCount() != 0) {
       destroyPending_ = true;
     } else {
@@ -105,7 +104,6 @@ class DelayedDestruction : public DelayedDestructionBase {
       if (delayed && !destroyPending_) {
         return;
       }
-      VLOG(4) << "DelayedDestruction::onDestroy_ delayed=" << delayed;
       delete this;
       (void)delayed; // prevent unused variable warnings
     };