1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-28 16:10:28 -05:00

write individual server log files and main log file seperately

log writing is thread safe now
This commit is contained in:
RaidMax
2018-10-06 11:47:14 -05:00
parent ac8542911d
commit b902069b23
17 changed files with 72 additions and 45 deletions

View File

@ -67,7 +67,7 @@ namespace IW4MAdmin.Application.Core
{
if (AuthenticatedClients.Values.Count > 18)
{
Program.ServerManager.GetLogger().WriteWarning($"auth client count is {AuthenticatedClients.Values.Count}, this is bad");
Program.ServerManager.GetLogger(0).WriteError($"auth client count is {AuthenticatedClients.Values.Count}, this is bad");
return AuthenticatedClients.Values.Take(18).ToList();
}