X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fserver_container.cc;h=17dd6d445f849cc834f82e8c2c2292bf218488e7;hb=9065046a3fd404f72fb090cb0da65cfa8443032f;hp=5e081f62776c1627c44f008f95ba15ee5ac7506d;hpb=fde9567090d20b035433241720f00cfbe6e66bf2;p=awesomized%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 } } }