From: Shawn Routhier Date: Thu, 19 Mar 2015 17:16:00 +0000 (-0700) Subject: [3755] Add message to D2 per reveiw comments. X-Git-Tag: kea-0.9.1~13^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e28acf38f45e8795c87bfac9670e8f36000fd6d;p=thirdparty%2Fkea.git [3755] Add message to D2 per reveiw comments. Actually modified a debug message to turn it into an info message. --- diff --git a/src/bin/d2/d2_messages.mes b/src/bin/d2/d2_messages.mes index 870c5e9311..e031639099 100644 --- a/src/bin/d2/d2_messages.mes +++ b/src/bin/d2/d2_messages.mes @@ -431,10 +431,6 @@ This is a debug message issued when reverse DNS updates are disabled and DHCP_DDNS receives an update request containing a reverse DNS update. The reverse update will not performed. -% DHCP_DDNS_RUN_ENTER application has entered the event loop -This is a debug message issued when the DHCP-DDNS application enters -its run method. - % DHCP_DDNS_RUN_EXIT application is exiting the event loop This is a debug message issued when the DHCP-DDNS server exits its event lo @@ -457,6 +453,11 @@ error after receiving a signal. This is a programmatic error and should be reported. While The application will likely continue to operating, it may be unable to respond correctly to signals. +% DHCP_DDNS_STARTED Kea DHCP-DDNS server version %1 started +This informational message indicates that the DHCP-DDNS server has +processed all configuration information and is ready to beging processing. +The version is also printed. + % DHCP_DDNS_STARTING DHCP-DDNS starting, pid: %1, version: %2 This is an informational message issued when controller for the service first starts. Version is also reported. diff --git a/src/bin/d2/d2_process.cc b/src/bin/d2/d2_process.cc index e8c9942dfb..6c333650ad 100644 --- a/src/bin/d2/d2_process.cc +++ b/src/bin/d2/d2_process.cc @@ -50,7 +50,7 @@ D2Process::init() { void D2Process::run() { - LOG_DEBUG(dctl_logger, DBGLVL_START_SHUT, DHCP_DDNS_RUN_ENTER); + LOG_INFO(dctl_logger, DHCP_DDNS_STARTED).arg(VERSION); // Loop forever until we are allowed to shutdown. while (!canShutdown()) { try {