diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-09-30 22:17:52 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-09-30 22:17:52 +0200 |
commit | 20902e125c9b042ff77ddf4419e3eb9474de674e (patch) | |
tree | 21cc88ed8a961496b4a84e6e5efa4e05478df6de | |
parent | Improvements to startup timer (diff) | |
download | cuberite-20902e125c9b042ff77ddf4419e3eb9474de674e.tar cuberite-20902e125c9b042ff77ddf4419e3eb9474de674e.tar.gz cuberite-20902e125c9b042ff77ddf4419e3eb9474de674e.tar.bz2 cuberite-20902e125c9b042ff77ddf4419e3eb9474de674e.tar.lz cuberite-20902e125c9b042ff77ddf4419e3eb9474de674e.tar.xz cuberite-20902e125c9b042ff77ddf4419e3eb9474de674e.tar.zst cuberite-20902e125c9b042ff77ddf4419e3eb9474de674e.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Root.cpp | 3 | ||||
-rw-r--r-- | source/WebAdmin.cpp | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/source/Root.cpp b/source/Root.cpp index c33af52ad..abe153b30 100644 --- a/source/Root.cpp +++ b/source/Root.cpp @@ -184,8 +184,7 @@ void cRoot::Start(void) long long finishmseconds = Time.GetNowTime(); finishmseconds -= mseconds; - if ((finishmseconds > 1) || (finishmseconds == 0)) { LOG("Startup complete, took %i miliseconds!", finishmseconds); } // Milisecs, why not :P - else { LOG("Startup complete, took 1 milisecond!"); } + LOG("Startup complete, took %i ms!", finishmseconds); while (!m_bStop && !m_bRestart) // These are modified by external threads { diff --git a/source/WebAdmin.cpp b/source/WebAdmin.cpp index 4f10d80a7..9d68931af 100644 --- a/source/WebAdmin.cpp +++ b/source/WebAdmin.cpp @@ -286,7 +286,7 @@ bool cWebAdmin::Init(int a_Port) } - LOGD("Starting WebAdmin on port %i", m_Port); + LOGINFO("Starting WebAdmin on port %i", m_Port); #ifdef _WIN32 HANDLE hThread = CreateThread( |