mirror of
https://bitbucket.org/seefoe/src.git
synced 2026-07-30 00:15:46 -04:00
Don't load the NetLogObserver for LogServer instances as it just sends messages into an infinite loop
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user