mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-14 23:07:48 -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