Changed: More details on OS and machine in client.log

This commit is contained in:
kervala 2016-06-07 13:21:45 +02:00
parent cd31a742d7
commit abdffe85bc

View file

@ -821,7 +821,10 @@ void initLog()
AssertLog->addDisplayer (ClientLogDisplayer); AssertLog->addDisplayer (ClientLogDisplayer);
// Display the client version. // Display the client version.
nlinfo("RYZOM VERSION : %s", getDebugVersion().c_str()); nlinfo("RYZOM VERSION: %s", getDebugVersion().c_str());
nlinfo("Memory: %s/%s", bytesToHumanReadable(CSystemInfo::availablePhysicalMemory()).c_str(), bytesToHumanReadable(CSystemInfo::totalPhysicalMemory()).c_str());
nlinfo("OS: %s", CSystemInfo::getOS().c_str());
nlinfo("Processor: %s", CSystemInfo::getProc().c_str());
#ifdef NL_OS_MAC #ifdef NL_OS_MAC
struct rlimit rlp, rlp2, rlp3; struct rlimit rlp, rlp2, rlp3;