From: Mirek Klimos Date: Sat, 12 Nov 2016 02:17:17 +0000 (-0800) Subject: Revert DLOG_INFO warnings about RequestContext being overriden X-Git-Tag: v2016.11.14.00~4 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8e312461dae8862a799477c1c67e3bc1d2a65da6;p=folly.git Revert DLOG_INFO warnings about RequestContext being overriden Summary: This is causing a log spew on some services, let's remove it until we figure out where the problem is and fix Differential Revision: D4171379 fbshipit-source-id: 2afdab6917a2498c376559f9171f6e93ab9c8ad7 --- diff --git a/folly/io/async/Request.h b/folly/io/async/Request.h index a87ec733..1c973594 100644 --- a/folly/io/async/Request.h +++ b/folly/io/async/Request.h @@ -115,8 +115,6 @@ class RequestContextScopeGuard { // Create a new RequestContext and reset to the original value when // this goes out of scope. RequestContextScopeGuard() : prev_(RequestContext::saveContext()) { - DLOG_IF(INFO, prev_ != nullptr) - << "Overriding folly::RequestContext - did you mean to unset it first?"; RequestContext::create(); } @@ -124,8 +122,6 @@ class RequestContextScopeGuard { // be automatically reset to the original value when this goes out of scope. explicit RequestContextScopeGuard(std::shared_ptr ctx) : prev_(RequestContext::setContext(std::move(ctx))) { - DLOG_IF(INFO, prev_ != nullptr && prev_.get() != RequestContext::get()) - << "Overriding folly::RequestContext - did you mean to unset it first?"; } ~RequestContextScopeGuard() {