mirror of https://gitee.com/bigwinds/arangodb
remove debug logging (#10192)
* remove debug logging * removed yet another log message
This commit is contained in:
parent
c1a0274ad0
commit
345a06ade4
|
@ -1,6 +1,9 @@
|
|||
v3.5.2 (XXXX-XX-XX)
|
||||
-------------------
|
||||
|
||||
* Removed debug log messages "found comm task ..." that could be logged
|
||||
on server shutdown.
|
||||
|
||||
* Fixed issue #10183: Arangoimport imports on _system when you try to
|
||||
create a new database.
|
||||
|
||||
|
|
|
@ -135,20 +135,26 @@ void GeneralServer::stopWorking() {
|
|||
}
|
||||
}
|
||||
|
||||
if (i % 40 == 0) {
|
||||
// don't spam too much
|
||||
LOG_TOPIC("f1749", DEBUG, Logger::FIXME) << "waiting for " << _commTasks.size() << " comm tasks to shut down";
|
||||
}
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(5));
|
||||
|
||||
#ifdef ARANGODB_ENABLE_MAINTAINER_MODE
|
||||
// this is a debugging facility that we can hopefully remove soon
|
||||
MUTEX_LOCKER(lock, _tasksLock);
|
||||
for (auto const& it : _commTasks) {
|
||||
LOG_TOPIC("9c8ac", INFO, Logger::FIXME) << "- found comm task with id " << it.first << " -> " << it.second.get();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
for (auto& context : _contexts) {
|
||||
context.stop();
|
||||
}
|
||||
|
||||
size_t i = 0;
|
||||
while (true) {
|
||||
{
|
||||
MUTEX_LOCKER(lock, _tasksLock);
|
||||
|
@ -157,14 +163,18 @@ void GeneralServer::stopWorking() {
|
|||
}
|
||||
}
|
||||
|
||||
if (i++ % 100 == 0) {
|
||||
LOG_TOPIC("f1549", DEBUG, Logger::FIXME) << "waiting for " << _commTasks.size() << " comm tasks to shut down";
|
||||
}
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(5));
|
||||
|
||||
#ifdef ARANGODB_ENABLE_MAINTAINER_MODE
|
||||
// this is a debugging facility that we can hopefully remove soon
|
||||
MUTEX_LOCKER(lock, _tasksLock);
|
||||
for (auto const& it : _commTasks) {
|
||||
LOG_TOPIC("9b8ac", INFO, Logger::FIXME) << "- found comm task with id " << it.first << " -> " << it.second.get();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
for (auto& context : _contexts) {
|
||||
|
|
Loading…
Reference in New Issue