MB-21320: Update handleSlowStream log to match the pattern of other DCP logs 73/69173/2
authorManu Dhundi <manu@couchbase.com>
Tue, 25 Oct 2016 01:20:38 +0000 (18:20 -0700)
committerManu Dhundi <manu@couchbase.com>
Tue, 25 Oct 2016 17:21:35 +0000 (17:21 +0000)
Change-Id: I2e9f1aecf66f7ee598d3c12d4be8ab875327bcf8
Reviewed-on: http://review.couchbase.org/69173
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
src/dcp/producer.cc

index 8c0d92e..13ba0a9 100644 (file)
@@ -785,11 +785,11 @@ bool DcpProducer::handleSlowStream(uint16_t vbid,
             if (stream->getName().compare(name) == 0) {
                 ActiveStream* as = static_cast<ActiveStream*>(stream.get());
                 if (as) {
-                    LOG(EXTENSION_LOG_NOTICE, "%s Producer is handling slow "
-                        "stream for vbucket %" PRIu16 ", stream name '%s'"
+                    LOG(EXTENSION_LOG_NOTICE, "%s (vb %" PRIu16 ")  Producer "
+                        "is handling slow stream;"
                         " state:%s lastReadSeqno:%" PRIu64
                         " lastSentSeqno:%" PRIu64,
-                        logHeader(), vbid, name.c_str(),
+                        logHeader(), vbid,
                         Stream::stateName(as->getState()),
                         as->getLastReadSeqno(),
                         as->getLastSentSeqno());