summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-30 22:17:52 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-30 22:17:52 +0200
commit20902e125c9b042ff77ddf4419e3eb9474de674e (patch)
tree21cc88ed8a961496b4a84e6e5efa4e05478df6de
parentImprovements to startup timer (diff)
downloadcuberite-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.cpp3
-rw-r--r--source/WebAdmin.cpp2
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(