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 c68bc0a8cd
commit 667da0de3f

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;