EPEngine:initialize: Log the config string from ns_server 53/76553/4
authorDave Rigby <daver@couchbase.com>
Tue, 4 Apr 2017 15:42:58 +0000 (16:42 +0100)
committerManu Dhundi <manu@couchbase.com>
Thu, 20 Apr 2017 21:50:33 +0000 (21:50 +0000)
Aids in debugging / testing.

Change-Id: I871629639c54f8efd202634ad804b9bfd607495f
Reviewed-on: http://review.couchbase.org/76553
Reviewed-by: James Harrison <james.harrison@couchbase.com>
Reviewed-by: Manu Dhundi <manu@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>
src/ep_engine.cc

index 30f92a6..44a40dc 100644 (file)
@@ -1884,8 +1884,10 @@ private:
 ENGINE_ERROR_CODE EventuallyPersistentEngine::initialize(const char* config) {
     resetStats();
     if (config != NULL) {
+        LOG(EXTENSION_LOG_NOTICE, "EPEngine::initialize: parsing config:\"%s\"",
+            config);
         if (!configuration.parseConfiguration(config, serverApi)) {
-            LOG(EXTENSION_LOG_NOTICE, "Failed to parse the configuration config "
+            LOG(EXTENSION_LOG_WARNING, "Failed to parse the configuration config "
                 "during bucket initialization.  config=%s", config);
             return ENGINE_FAILED;
         }