Don't load the NetLogObserver for LogServer instances as it just sends messages into an infinite loop

This commit is contained in:
apathy
2016-08-01 02:46:56 +00:00
committed by DarthArgus
parent 75c27f67ad
commit 3d7acd9f32
@@ -67,7 +67,9 @@ void SetupSharedLog::install(std::string const &procId, bool flushOnWrite)
ConfigSharedLog::install();
LogManager::install(procId, flushOnWrite);
FileLogObserver::install();
NetLogObserver::install();
if (procId.compare("LogServer") != 0) {
NetLogObserver::install();
}
TailFileLogObserver::install();
if (ConfigSharedLog::getLogReportLogs())