X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fserver_container.cc;h=17dd6d445f849cc834f82e8c2c2292bf218488e7;hb=refs%2Ftags%2F1.0.15;hp=5e081f62776c1627c44f008f95ba15ee5ac7506d;hpb=97b73d47e6a3d5729ba13304ff355a737a34f1b4;p=m6w6%2Flibmemcached diff --git a/libtest/server_container.cc b/libtest/server_container.cc index 5e081f62..17dd6d44 100644 --- a/libtest/server_container.cc +++ b/libtest/server_container.cc @@ -294,9 +294,14 @@ bool server_startup_st::start_server(const std::string& server_type, in_port_t t { if (opt_startup_message) { - Outn(); - Out << "STARTING SERVER(pid:" << server->pid() << "): " << server->running(); - Outn(); +#if defined(DEBUG) + if (DEBUG) + { + Outn(); + Out << "STARTING SERVER(pid:" << server->pid() << "): " << server->running(); + Outn(); + } +#endif } } } @@ -397,9 +402,14 @@ bool server_startup_st::start_socket_server(const std::string& server_type, cons { if (opt_startup_message) { - Outn(); - Out << "STARTING SERVER(pid:" << server->pid() << "): " << server->running(); - Outn(); +#if defined(DEBUG) + if (DEBUG) + { + Outn(); + Out << "STARTING SERVER(pid:" << server->pid() << "): " << server->running(); + Outn(); + } +#endif } } }