aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-10 17:09:34 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-03-10 17:10:16 +0200
commite80bc6ef584e3189e0f85d52b5d92a8bad9ecaa0 (patch)
tree2028caffd78daca31df647f12c405ffb28a397a0
parentd81e783665e1621b37bacaf66e13d11fdfbbbd94 (diff)
downloadminetest-e80bc6ef584e3189e0f85d52b5d92a8bad9ecaa0.tar.gz
minetest-e80bc6ef584e3189e0f85d52b5d92a8bad9ecaa0.tar.bz2
minetest-e80bc6ef584e3189e0f85d52b5d92a8bad9ecaa0.zip
Tidy up server log output a bit
-rw-r--r--src/main.cpp6
-rw-r--r--src/server.cpp3
2 files changed, 4 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp
index e78d4441c..1b7331ee2 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1323,14 +1323,14 @@ int main(int argc, char *argv[])
server.start(port);
// ASCII art for the win!
- dstream<<std::endl
+ actionstream
<<" .__ __ __ "<<std::endl
<<" _____ |__| ____ _____/ |_ ____ _______/ |_ "<<std::endl
<<" / \\| |/ \\_/ __ \\ __\\/ __ \\ / ___/\\ __\\"<<std::endl
<<"| Y Y \\ | | \\ ___/| | \\ ___/ \\___ \\ | | "<<std::endl
<<"|__|_| /__|___| /\\___ >__| \\___ >____ > |__| "<<std::endl
- <<" \\/ \\/ \\/ \\/ \\/ "<<std::endl
- <<std::endl;
+ <<" \\/ \\/ \\/ \\/ \\/ "<<std::endl;
+ actionstream<<"Listening at port "<<port<<"."<<std::endl;
// Run server
dedicated_server_loop(server, kill);
diff --git a/src/server.cpp b/src/server.cpp
index 2bd561bf7..ad4524901 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -4525,8 +4525,7 @@ void dedicated_server_loop(Server &server, bool &kill)
{
DSTACK(__FUNCTION_NAME);
- infostream<<"Running dedicated server"<<std::endl;
- infostream<<"========================"<<std::endl;
+ infostream<<"dedicated_server_loop()"<<std::endl;
IntervalLimiter m_profiler_interval;