From: Jelte Jansen Date: Wed, 7 Mar 2012 10:21:35 +0000 (+0100) Subject: [1741] rename RESOLVER_SHUTDOWN debug message X-Git-Tag: trac2351_base~226^2~116^2~41^2~48^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=81d738596851cc2f0d4e475c9c26e7e41c8bc1f7;p=thirdparty%2Fkea.git [1741] rename RESOLVER_SHUTDOWN debug message it conflicted with RESOLVER_SHUTDOWN info message (the debug one signals the shutdown command was received, the info message that the resolver actually shut down) --- diff --git a/src/bin/resolver/main.cc b/src/bin/resolver/main.cc index c56e6f3acf..d14fb0bc41 100644 --- a/src/bin/resolver/main.cc +++ b/src/bin/resolver/main.cc @@ -100,7 +100,8 @@ my_command_handler(const string& command, ConstElementPtr args) { return (answer); } } - LOG_DEBUG(resolver_logger, RESOLVER_DBG_INIT, RESOLVER_SHUTDOWN); + LOG_DEBUG(resolver_logger, RESOLVER_DBG_INIT, + RESOLVER_SHUTDOWN_RECEIVED); io_service.stop(); } diff --git a/src/bin/resolver/resolver_messages.mes b/src/bin/resolver/resolver_messages.mes index bd9c818678..4999dbe8c5 100644 --- a/src/bin/resolver/resolver_messages.mes +++ b/src/bin/resolver/resolver_messages.mes @@ -247,6 +247,6 @@ The log message shows the query in the form of //, and the client that sends the query in the form of #. -% RESOLVER_SHUTDOWN asked to shut down, doing so +% RESOLVER_SHUTDOWN_RECEIVED received command to shut down A debug message noting that the server was asked to terminate and is complying to the request.