From 3f5bf6ceb9423247e06fdeb5589aae40e62310fc Mon Sep 17 00:00:00 2001 From: jsteemann Date: Fri, 10 Mar 2017 19:08:57 +0100 Subject: [PATCH] improve logging --- arangod/V8Server/V8DealerFeature.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arangod/V8Server/V8DealerFeature.cpp b/arangod/V8Server/V8DealerFeature.cpp index 8daf93ea8a..cbfcad4ed6 100644 --- a/arangod/V8Server/V8DealerFeature.cpp +++ b/arangod/V8Server/V8DealerFeature.cpp @@ -144,7 +144,7 @@ void V8DealerFeature::collectOptions(std::shared_ptr options) { new UInt64Parameter(&_nrMaxContexts)); options->addHiddenOption( - "--javascript.v8-contexts", + "--javascript.v8-contexts-spare", "minimum number of V8 contexts that keep available for executing JavaScript actions", new UInt64Parameter(&_nrMinContexts)); } @@ -640,7 +640,7 @@ V8Context* V8DealerFeature::enterContext(TRI_vocbase_t* vocbase, CONDITION_LOCKER(guard, _contextCondition); while (_freeContexts.empty() && !_stopping) { - LOG_TOPIC(DEBUG, arangodb::Logger::V8) << "waiting for unused V8 context"; + LOG_TOPIC(TRACE, arangodb::Logger::V8) << "waiting for unused V8 context"; if (!_dirtyContexts.empty()) { // we'll use a dirty context in this case @@ -963,7 +963,7 @@ void V8DealerFeature::shutdownContexts() { // stop GC thread if (_gcThread != nullptr) { - LOG_TOPIC(DEBUG, arangodb::Logger::V8) << "Waiting for GC Thread to finish action"; + LOG_TOPIC(DEBUG, arangodb::Logger::V8) << "waiting for GC Thread to finish action"; _gcThread->beginShutdown(); // wait until garbage collector thread is done