Store server statistics data in a log file and reload it when the server is restarted.

This commit is contained in:
lotodore
2007-11-11 15:58:35 +00:00
parent da559c8d88
commit d905359251
6 changed files with 127 additions and 32 deletions
+2 -1
View File
@@ -261,7 +261,8 @@ void Session::startNetworkServer()
myConfig->readConfigInt("ServerPort"),
myConfig->readConfigInt("ServerUseIpv6") == 1,
myConfig->readConfigInt("ServerUseSctp") == 1,
myConfig->readConfigString("ServerPassword"));
myConfig->readConfigString("ServerPassword"),
myConfig->readConfigString("LogDir"));
myNetServer->Run();
}