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

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

View File

@ -131,6 +131,7 @@ int main(int argc, char **argv)
if (argc == 1) {
server.db->LoadLogSettings(LogSys.log_settings);
LogSys.StartFileLogs();
}
/**

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());
}
}