Skip to content

Commit 2955fca

Browse files
Tim Bradgatetrondn
authored andcommitted
MB-28468: Reduce log level for FTS DCP streams
Change-Id: I9f6f060a0de2d16e49780b95b74e04e279cb7f5f Reviewed-on: http://review.couchbase.org/93384 Reviewed-by: Dave Rigby <[email protected]> Reviewed-by: Marty Schoch <[email protected]> Tested-by: Build Bot <[email protected]>
1 parent 0cce666 commit 2955fca

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

engines/ep/src/dcp/producer.cc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,14 @@ DcpProducer::DcpProducer(EventuallyPersistentEngine& e,
182182
logger.min_log_level = EXTENSION_LOG_WARNING;
183183
}
184184

185+
// MB-28468: Reduce the minimum log level of FTS DCP streams as they are
186+
// very noisy due to creating streams for non-existing vBuckets. Future
187+
// development of FTS should remedy this, however for now, we need to
188+
// reduce their verbosity as they cause the memcached log to rotate early.
189+
if (name.find("eq_dcpq:fts") != std::string::npos) {
190+
logger.min_log_level = EXTENSION_LOG_FATAL;
191+
}
192+
185193
engine_.setDCPPriority(getCookie(), CONN_PRIORITY_MED);
186194
priority.assign("medium");
187195

0 commit comments

Comments
 (0)