Tidy up server log output a bit
authorPerttu Ahola <celeron55@gmail.com>
Sat, 10 Mar 2012 15:09:34 +0000 (17:09 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Sat, 10 Mar 2012 15:10:16 +0000 (17:10 +0200)
src/main.cpp
src/server.cpp

index e78d4441ca032fb23b9bf16ff6301e46a18e7aa2..1b7331ee235eeb2a45f8ee8e448e8f5ceb9f6548 100644 (file)
@@ -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);
index 2bd561bf7dd43753f5dbe46755cdf4457509352c..ad45249012d5cf8593fd3c53722b4f98ba1ce444 100644 (file)
@@ -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;