Make sure loginserver is writing to file log [skip ci]

This commit is contained in:
Akkadius committed 2019-09-08 02:01:10 -05:00
1 parent 6fcb97e153
commit b2526ff6d6
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -131,6 +131,7 @@ int main(int argc, char **argv)
if (argc == 1) {
server.db->LoadLogSettings(LogSys.log_settings);
LogSys.StartFileLogs();
}
/**
+1 -1
View File
@@ -290,7 +290,7 @@ void LoginServer::ProcessLSFatalError(uint16_t opcode, EQ::Net::Packet &p)
LogInfo("Login server responded with FatalError");
if (p.Length() > 1) {
LogInfo(" [{}]", (const char *) p.Data());
LogError("Error [{}]", (const char *) p.Data());
}
}