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

curtail lost connection messages from RCon

verify still compatible with T6
fix potential null reference exception during configuration reading/setup
This commit is contained in:
RaidMax
2018-10-10 19:22:08 -05:00
parent 72a3ae65d5
commit aa8005bba6
9 changed files with 16 additions and 25 deletions

View File

@ -24,7 +24,7 @@ namespace IW4MAdmin.Application
public Logger(string fn)
{
FileName = Path.Join("Log", $"{fn}.log");
FileName = Path.Join(Utilities.OperatingDirectory, "Log", $"{fn}.log");
OnLogWriting = new SemaphoreSlim(1, 1);
RotateLogs();
}