MB-21190: update log message for set max_cas 94/68994/5
authorJim Walker <jim@couchbase.com>
Thu, 20 Oct 2016 08:03:40 +0000 (09:03 +0100)
committerDave Rigby <daver@couchbase.com>
Tue, 1 Nov 2016 15:18:35 +0000 (15:18 +0000)
There's a future desire to print vbucket's as "vb:"

Change-Id: I5ac58daa01a1dd2ed5a631558bf735c9a81ed821
Reviewed-on: http://review.couchbase.org/68994
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: buildbot <build@couchbase.com>
src/ep_engine.cc

index 54972a5..88f4369 100644 (file)
@@ -625,8 +625,8 @@ extern "C" {
             } else if (strcmp(keyz, "max_cas") == 0) {
                 uint64_t v = std::strtoull(valz, nullptr, 10);
                 checkNumeric(valz);
-                LOG(EXTENSION_LOG_WARNING, "setVbucketParam max_cas=%" PRIu64 " "
-                                           "vbucket=%" PRIu16 "\n", v, vbucket);
+                LOG(EXTENSION_LOG_WARNING, "setVbucketParam: max_cas:%" PRIu64 " "
+                                           "vb:%" PRIu16 "\n", v, vbucket);
                 if (e->getEpStore()->forceMaxCas(vbucket, v) != ENGINE_SUCCESS) {
                     rv = PROTOCOL_BINARY_RESPONSE_NOT_MY_VBUCKET;
                     msg = "Not my vbucket";